Package org.forgerock.api.models
Class Patch.Builder
- java.lang.Object
-
- org.forgerock.api.models.Operation.Builder<Patch.Builder>
-
- org.forgerock.api.models.Patch.Builder
-
- Enclosing class:
- Patch
public static final class Patch.Builder extends Operation.Builder<Patch.Builder>
Builder to help construct the Patch.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Patch
build()
Builds the Patch instance.Patch.Builder
operations(PatchOperation... operations)
Setter for supported Patch-operations.protected Patch.Builder
self()
Abstract method that returns the instantiated Builder itself.-
Methods inherited from class org.forgerock.api.models.Operation.Builder
description, description, detailsFromAnnotation, error, errors, parameter, parameters, stability, supportedLocales
-
-
-
-
Method Detail
-
operations
public Patch.Builder operations(PatchOperation... operations)
Setter for supported Patch-operations.- Parameters:
operations
- Supported Patch-operations- Returns:
- Builder
-
self
protected Patch.Builder self()
Description copied from class:Operation.Builder
Abstract method that returns the instantiated Builder itself.- Specified by:
self
in classOperation.Builder<Patch.Builder>
- Returns:
- Builder
-
build
public Patch build()
Builds the Patch instance.- Returns:
- Patch instance
-
-