Package com.veeva.vault.sdk.api.workflow
Interface WorkflowParticipantRemoveRequest.Builder
- Enclosing interface:
WorkflowParticipantRemoveRequest
public static interface WorkflowParticipantRemoveRequest.Builder
Builds a
WorkflowParticipantRemoveRequest.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds theWorkflowParticipantRemoveRequest.withParticipantGroups(List<WorkflowParticipantGroupInputParameter> participantGroups) Required: sets the participant groups and their members to remove.withWorkflowId(String workflowId) Required: sets the active workflow ID.
-
Method Details
-
withWorkflowId
Required: sets the active workflow ID.- Parameters:
workflowId- ID of the active workflow to apply the removal to- Returns:
- this
WorkflowParticipantRemoveRequest.Builder
-
withParticipantGroups
WorkflowParticipantRemoveRequest.Builder withParticipantGroups(List<WorkflowParticipantGroupInputParameter> participantGroups) Required: sets the participant groups and their members to remove. Each entry targets one participant group on the workflow.- Parameters:
participantGroups- one or more participant group removal requests- Returns:
- this
WorkflowParticipantRemoveRequest.Builder
-
build
WorkflowParticipantRemoveRequest build()Builds theWorkflowParticipantRemoveRequest.- Returns:
- this completed
WorkflowParticipantRemoveRequest
-