Package org.jclouds.chef.domain
Class Attribute
- java.lang.Object
-
- org.jclouds.chef.domain.Attribute
-
public class Attribute extends Object
An attribute in a cookbook metadata.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Attribute.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Attribute.Builder
builder()
boolean
equals(Object obj)
Set<String>
getChoice()
JsonBall
getDefaultValue()
String
getDescription()
String
getDisplayName()
List<String>
getRecipes()
String
getRequired()
String
getType()
int
hashCode()
boolean
isCalculated()
String
toString()
-
-
-
Constructor Detail
-
Attribute
@ConstructorProperties({"required","calculated","choice","default","type","recipes","display_name","description"}) protected Attribute(String required, boolean calculated, @Nullable Set<String> choice, JsonBall defaultValue, String type, @Nullable List<String> recipes, String displayName, String description)
-
-
Method Detail
-
builder
public static Attribute.Builder builder()
-
getRequired
public String getRequired()
-
isCalculated
public boolean isCalculated()
-
getDefaultValue
public JsonBall getDefaultValue()
-
getType
public String getType()
-
getDisplayName
public String getDisplayName()
-
getDescription
public String getDescription()
-
-