Interface DocumentLifecycleUserActionUserInputMetadataRequest.Builder
- Enclosing interface:
- DocumentLifecycleUserActionUserInputMetadataRequest
public static interface DocumentLifecycleUserActionUserInputMetadataRequest.Builder
Creates an instance of
DocumentLifecycleUserActionUserInputMetadataRequest
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Validates and retrieves a completedDocumentLifecycleUserActionUserInputMetadataRequest
.withLifecycleName
(String lifecycleName) Required: Sets the lifecycle name associated with the user action of the requested document lifecycle user action user input.withStateName
(String stateName) Required: Sets the lifecycle state name associated with the user action of the requested document lifecycle user action user input.withUserActionName
(String userActionName) Required: Sets the user action name associated with the requested document lifecycle user action user input.
-
Method Details
-
withLifecycleName
Required: Sets the lifecycle name associated with the user action of the requested document lifecycle user action user input.- Parameters:
lifecycleName
- lifecycle name associated with the user action of the requested document lifecycle user action user input- Returns:
- this
DocumentLifecycleUserActionUserInputMetadataRequest.Builder
-
withStateName
Required: Sets the lifecycle state name associated with the user action of the requested document lifecycle user action user input.- Parameters:
stateName
- lifecycle state name associated with the user action of the requested document lifecycle user action user input- Returns:
- this
DocumentLifecycleUserActionUserInputMetadataRequest.Builder
-
withUserActionName
DocumentLifecycleUserActionUserInputMetadataRequest.Builder withUserActionName(String userActionName) Required: Sets the user action name associated with the requested document lifecycle user action user input.- Parameters:
userActionName
- user action name associated with the requested document lifecycle user action user input- Returns:
- this
DocumentLifecycleUserActionUserInputMetadataRequest.Builder
-
build
Validates and retrieves a completedDocumentLifecycleUserActionUserInputMetadataRequest
. The lifecycle, state, and user action name must be provided.- Returns:
- this completed
DocumentLifecycleUserActionUserInputMetadataRequest
- Throws:
RuntimeException
- if lifecycle, state, and user action name are not provided
-