Package org.forgerock.api.models
Class Items.Builder
java.lang.Object
org.forgerock.api.models.Items.Builder
- Enclosing class:
- Items
Builder to help construct the
Items
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdds one Action to the list of Actions.Set Actions.build()
Construct a new instance of Resource.Set create.Set Delete.Set Patch.pathParameter
(Parameter pathParameter) Sets the path parameter for this resource.Set Read.subresources
(SubResources subresources) Sets the sub-resources for this resource.Set Update.
-
Constructor Details
-
Builder
protected Builder()Private default constructor.
-
-
Method Details
-
create
Set create.- Parameters:
create
- The create operation description, if supported- Returns:
- Builder
-
read
Set Read.- Parameters:
read
- The read operation description, if supported- Returns:
- Builder
-
update
Set Update.- Parameters:
update
- The update operation description, if supported- Returns:
- Builder
-
delete
Set Delete.- Parameters:
delete
- The delete operation description, if supported- Returns:
- Builder
-
patch
Set Patch.- Parameters:
patch
- The patch operation description, if supported- Returns:
- Builder
-
actions
Set Actions.- Parameters:
actions
- The list of action operation descriptions, if supported- Returns:
- Builder
-
action
Adds one Action to the list of Actions.- Parameters:
action
- Action operation description to be added to the list- Returns:
- Builder
-
pathParameter
Sets the path parameter for this resource.- Parameters:
pathParameter
- The path parameter definition.- Returns:
- Builder
-
subresources
Sets the sub-resources for this resource.- Parameters:
subresources
- The sub-reosurces definition.- Returns:
- Builder
-
build
Construct a new instance of Resource.- Returns:
- Resource instance
-