Package org.jclouds.chef.domain
Class Role.Builder
- java.lang.Object
-
- org.jclouds.chef.domain.Role.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Role
build()
Role.Builder
defaultAttribute(String key, JsonBall value)
Role.Builder
defaultAttributes(Map<String,JsonBall> defaultAttributes)
Role.Builder
description(String description)
Role.Builder
envRunList(String name, List<String> runList)
Role.Builder
envRunList(Map<String,List<String>> envRunList)
Role.Builder
envRunListElement(String name, String value)
Role.Builder
name(String name)
Role.Builder
overrideAttribute(String key, JsonBall value)
Role.Builder
overrideAttributes(Map<String,JsonBall> overrideAttributes)
Role.Builder
runList(Iterable<String> runList)
Role.Builder
runListElement(String element)
-
-
-
Method Detail
-
name
public Role.Builder name(String name)
-
description
public Role.Builder description(String description)
-
overrideAttribute
public Role.Builder overrideAttribute(String key, JsonBall value)
-
overrideAttributes
public Role.Builder overrideAttributes(Map<String,JsonBall> overrideAttributes)
-
defaultAttribute
public Role.Builder defaultAttribute(String key, JsonBall value)
-
defaultAttributes
public Role.Builder defaultAttributes(Map<String,JsonBall> defaultAttributes)
-
runListElement
public Role.Builder runListElement(String element)
-
runList
public Role.Builder runList(Iterable<String> runList)
-
envRunList
public Role.Builder envRunList(Map<String,List<String>> envRunList)
-
envRunList
public Role.Builder envRunList(String name, List<String> runList)
-
envRunListElement
public Role.Builder envRunListElement(String name, String value)
-
build
public Role build()
-
-