Package org.forgerock.api.models
Class Items.Builder
- java.lang.Object
 - 
- org.forgerock.api.models.Items.Builder
 
 
- 
- 
Constructor Summary
Constructors Modifier Constructor Description protectedBuilder()Private default constructor. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Items.Builderaction(Action action)Adds one Action to the list of Actions.Items.Builderactions(List<Action> actions)Set Actions.Itemsbuild()Construct a new instance of Resource.Items.Buildercreate(Create create)Set create.Items.Builderdelete(Delete delete)Set Delete.Items.Builderpatch(Patch patch)Set Patch.Items.BuilderpathParameter(Parameter pathParameter)Sets the path parameter for this resource.Items.Builderread(Read read)Set Read.Items.Buildersubresources(SubResources subresources)Sets the sub-resources for this resource.Items.Builderupdate(Update update)Set Update. 
 - 
 
- 
- 
Method Detail
- 
create
public Items.Builder create(Create create)
Set create.- Parameters:
 create- The create operation description, if supported- Returns:
 - Builder
 
 
- 
read
public Items.Builder read(Read read)
Set Read.- Parameters:
 read- The read operation description, if supported- Returns:
 - Builder
 
 
- 
update
public Items.Builder update(Update update)
Set Update.- Parameters:
 update- The update operation description, if supported- Returns:
 - Builder
 
 
- 
delete
public Items.Builder delete(Delete delete)
Set Delete.- Parameters:
 delete- The delete operation description, if supported- Returns:
 - Builder
 
 
- 
patch
public Items.Builder patch(Patch patch)
Set Patch.- Parameters:
 patch- The patch operation description, if supported- Returns:
 - Builder
 
 
- 
actions
public Items.Builder actions(List<Action> actions)
Set Actions.- Parameters:
 actions- The list of action operation descriptions, if supported- Returns:
 - Builder
 
 
- 
action
public Items.Builder action(Action action)
Adds one Action to the list of Actions.- Parameters:
 action- Action operation description to be added to the list- Returns:
 - Builder
 
 
- 
pathParameter
public Items.Builder pathParameter(Parameter pathParameter)
Sets the path parameter for this resource.- Parameters:
 pathParameter- The path parameter definition.- Returns:
 - Builder
 
 
- 
subresources
public Items.Builder subresources(SubResources subresources)
Sets the sub-resources for this resource.- Parameters:
 subresources- The sub-reosurces definition.- Returns:
 - Builder
 
 
- 
build
public Items build()
Construct a new instance of Resource.- Returns:
 - Resource instance
 
 
 - 
 
 -