public static interface ObjectLifecycleUserActionMetadataRequest.Builder
Modifier and Type | Method and Description |
---|---|
ObjectLifecycleUserActionMetadataRequest |
build()
Retrieves a completed
ObjectLifecycleUserActionMetadataRequest . |
ObjectLifecycleUserActionMetadataRequest.Builder |
withActionType(String actionType)
Optional: sets the name of the action type associated with the requested object lifecycle user action.
|
ObjectLifecycleUserActionMetadataRequest.Builder |
withLifecycleName(String lifecycleName)
Required: sets the lifecycle name of the record associated with the requested object lifecycle user action.
|
ObjectLifecycleUserActionMetadataRequest.Builder |
withLifecycleState(String stateName)
Required: sets the lifecycle state of the record associated with the requested object lifecycle user action.
|
ObjectLifecycleUserActionMetadataRequest.Builder withLifecycleState(String stateName)
stateName
- lifecycle state name associated with the object lifecycle user action to retrieve metadata of.ObjectLifecycleUserActionMetadataRequest.Builder
ObjectLifecycleUserActionMetadataRequest.Builder withLifecycleName(String lifecycleName)
lifecycleName
- lifecycle name associated with the object lifecycle user action to retrieve metadata of.ObjectLifecycleUserActionMetadataRequest.Builder
ObjectLifecycleUserActionMetadataRequest.Builder withActionType(String actionType)
LIFECYCLE_STATE_CHANGE_ACTION
if only state change actions are desired.
If not provided, then default behavior is to fetch all actions, regardless of type.actionType
- the name of the action typeObjectLifecycleUserActionMetadataRequest.Builder
ObjectLifecycleUserActionMetadataRequest build()
ObjectLifecycleUserActionMetadataRequest
.
Both lifecycle state and lifecycle name must be provided.ObjectLifecycleUserActionMetadataRequest
IllegalArgumentException
- if any of the required values are not provided.Copyright © Veeva Systems 2017–2023. All rights reserved.