Package org.forgerock.api.models
Class Create.Builder
- java.lang.Object
-
- org.forgerock.api.models.Operation.Builder<Create.Builder>
-
- org.forgerock.api.models.Create.Builder
-
- Enclosing class:
- Create
public static final class Create.Builder extends Operation.Builder<Create.Builder>
Builder for the Create.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Create
build()
Builds the Create instance.Create.Builder
mode(CreateMode mode)
Setter for create-mode.protected Create.Builder
self()
Returns the builder so this.Create.Builder
singleton(Boolean singleton)
Setter for singleton.-
Methods inherited from class org.forgerock.api.models.Operation.Builder
description, description, detailsFromAnnotation, error, errors, parameter, parameters, stability, supportedLocales
-
-
-
-
Method Detail
-
mode
public Create.Builder mode(CreateMode mode)
Setter for create-mode.- Parameters:
mode
- Create-mode- Returns:
- Builder
-
singleton
public Create.Builder singleton(Boolean singleton)
Setter for singleton.- Parameters:
singleton
- Specifies that create operates on a singleton as opposed to a collection.- Returns:
- Builder
-
self
protected Create.Builder self()
Returns the builder so this.- Specified by:
self
in classOperation.Builder<Create.Builder>
- Returns:
- this
-
build
public Create build()
Builds the Create instance.- Returns:
- Create instance
-
-