Package org.forgerock.api.models
Class SubResources.Builder
- java.lang.Object
-
- org.forgerock.api.models.SubResources.Builder
-
- Enclosing class:
- SubResources
public static final class SubResources.Builder extends Object
Builder to help construct the SubResources.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SubResources
build()
Builds theSubResources
instance.SubResources.Builder
put(String path, Resource resource)
Adds a sub-resource.
-
-
-
Method Detail
-
put
public SubResources.Builder put(String path, Resource resource)
Adds a sub-resource.- Parameters:
path
- Sub-resource pathresource
-Resource
- Returns:
- Builder
-
build
public SubResources build()
Builds theSubResources
instance.- Returns:
SubResources
instance
-
-