Package com.veeva.vault.sdk.api.workflow
Interface WorkflowAddParticipantsRequest.Builder
- Enclosing interface:
- WorkflowAddParticipantsRequest
public static interface WorkflowAddParticipantsRequest.Builder
Builds a
WorkflowAddParticipantsRequest
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Validates and retrieves a completedWorkflowAddParticipantsRequest
.withInputParameters
(List<WorkflowParticipantGroupInputParameter> inputParameters) Required: sets the workflow participant group input parameters.withWorkflowId
(String workflowId) Required: sets the active workflow ID.
-
Method Details
-
withWorkflowId
Required: sets the active workflow ID.- Parameters:
workflowId
- to apply the add participants action- Returns:
- this
WorkflowAddParticipantsRequest.Builder
-
withInputParameters
WorkflowAddParticipantsRequest.Builder withInputParameters(List<WorkflowParticipantGroupInputParameter> inputParameters) Required: sets the workflow participant group input parameters.- Parameters:
inputParameters
- list of input parameters. Cannot be null or empty.- Returns:
- this
WorkflowAddParticipantsRequest.Builder
-
build
WorkflowAddParticipantsRequest build()Validates and retrieves a completedWorkflowAddParticipantsRequest
. Workflow ID and workflow participant group input parameters are set.- Returns:
- this completed
WorkflowAddParticipantsRequest
-