Class Role
- java.lang.Object
-
- org.jclouds.scriptbuilder.domain.chef.Role
-
public class Role extends Object
A Role to be configured for a Chef Solo run.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Role.Builder
-
Constructor Summary
Constructors Modifier Constructor Description protected
Role(String name, com.google.common.base.Optional<String> description, com.google.common.base.Optional<String> jsonDefaultAttributes, com.google.common.base.Optional<String> jsonOverrideAttributes, com.google.common.base.Optional<RunList> runlist)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Role.Builder
builder()
boolean
equals(Object obj)
com.google.common.base.Optional<String>
getDescription()
com.google.common.base.Optional<String>
getJsonDefaultAttributes()
com.google.common.base.Optional<String>
getJsonOverrideAttributes()
String
getName()
RunList
getRunlist()
int
hashCode()
String
toJsonString()
String
toString()
-
-
-
Method Detail
-
builder
public static Role.Builder builder()
-
toJsonString
public String toJsonString()
-
getName
public String getName()
-
getDescription
public com.google.common.base.Optional<String> getDescription()
-
getJsonDefaultAttributes
public com.google.common.base.Optional<String> getJsonDefaultAttributes()
-
getJsonOverrideAttributes
public com.google.common.base.Optional<String> getJsonOverrideAttributes()
-
getRunlist
public RunList getRunlist()
-
-