Package org.forgerock.api.models
Class Action.Builder
- Enclosing class:
- Action
Builder class for creating the Action.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the Action instance.Set the Id.Set the request.Set the response.protected Action.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
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
self
Description copied from class:Operation.Builder
Abstract method that returns the instantiated Builder itself.- Specified by:
self
in classOperation.Builder<Action.Builder>
- Returns:
- Builder
-
name
Set the Id.- Parameters:
name
- Action name- Returns:
- Builder
-
request
Set the request.- Parameters:
request
- Action request- Returns:
- Builder
-
response
Set the response.- Parameters:
response
- Action resopnse- Returns:
- Builder
-
build
Builds the Action instance.- Returns:
- Action instance
-