Package org.jclouds.chef.domain
Class CookbookDefinition.Builder
- java.lang.Object
-
- org.jclouds.chef.domain.CookbookDefinition.Builder
-
- Enclosing class:
- CookbookDefinition
public static class CookbookDefinition.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CookbookDefinition
build()
CookbookDefinition.Builder
from(CookbookDefinition def)
CookbookDefinition.Builder
name(String name)
CookbookDefinition.Builder
url(URI url)
CookbookDefinition.Builder
version(CookbookDefinition.Version version)
CookbookDefinition.Builder
versions(Iterable<CookbookDefinition.Version> versions)
-
-
-
Method Detail
-
name
public CookbookDefinition.Builder name(String name)
-
url
public CookbookDefinition.Builder url(URI url)
-
version
public CookbookDefinition.Builder version(CookbookDefinition.Version version)
-
versions
public CookbookDefinition.Builder versions(Iterable<CookbookDefinition.Version> versions)
-
from
public CookbookDefinition.Builder from(CookbookDefinition def)
-
build
public CookbookDefinition build()
-
-