Package org.jclouds.chef.domain
Class CookbookDefinition
- java.lang.Object
-
- org.jclouds.chef.domain.CookbookDefinition
-
public class CookbookDefinition extends Object
Cookbook definition as returned by the Chef server >= 0.10.8.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CookbookDefinition.Builder
static class
CookbookDefinition.Version
-
Constructor Summary
Constructors Modifier Constructor Description protected
CookbookDefinition(String name, URI url, Set<CookbookDefinition.Version> versions)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CookbookDefinition.Builder
builder()
boolean
equals(Object obj)
String
getName()
URI
getUrl()
Set<CookbookDefinition.Version>
getVersions()
int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
CookbookDefinition
@ConstructorProperties({"name","url","versions"}) protected CookbookDefinition(String name, URI url, @Nullable Set<CookbookDefinition.Version> versions)
-
-
Method Detail
-
builder
public static CookbookDefinition.Builder builder()
-
getName
public String getName()
-
getUrl
public URI getUrl()
-
getVersions
public Set<CookbookDefinition.Version> getVersions()
-
-