org.jclouds.chef.domain
Class Attribute

java.lang.Object
  extended by org.jclouds.chef.domain.Attribute

public class Attribute
extends Object

An attribute in a cookbook metadata.


Nested Class Summary
static class Attribute.Builder
           
 
Constructor Summary
protected Attribute(String required, boolean calculated, Set<String> choice, org.jclouds.domain.JsonBall defaultValue, String type, List<String> recipes, String displayName, String description)
           
 
Method Summary
static Attribute.Builder builder()
           
 boolean equals(Object obj)
           
 Set<String> getChoice()
           
 org.jclouds.domain.JsonBall getDefaultValue()
           
 String getDescription()
           
 String getDisplayName()
           
 List<String> getRecipes()
           
 String getRequired()
           
 String getType()
           
 int hashCode()
           
 boolean isCalculated()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Attribute

@ConstructorProperties(value={"required","calculated","choice","default","type","recipes","display_name","description"})
protected Attribute(String required,
                                               boolean calculated,
                                               @Nullable
                                               Set<String> choice,
                                               org.jclouds.domain.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()

getChoice

public Set<String> getChoice()

getDefaultValue

public org.jclouds.domain.JsonBall getDefaultValue()

getType

public String getType()

getRecipes

public List<String> getRecipes()

getDisplayName

public String getDisplayName()

getDescription

public String getDescription()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.