Package com.veeva.vault.sdk.api.workflow
Interface WorkflowParticipantGroupInputParameter.Builder
- Enclosing interface:
- WorkflowParticipantGroupInputParameter
public static interface WorkflowParticipantGroupInputParameter.Builder
Builds a
WorkflowParticipantGroupInputParameter.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Validates and constructs a completedWorkflowParticipantGroupInputParameter.withGroupIds(List<String> groupIds) Optional: sets the group IDs to add to a participant group.withParticipantGroupName(String participantGroupName) Required: sets the participant group name.withUserIds(List<String> userIds) Optional: sets the user IDs to add to a participant group.
-
Method Details
-
withParticipantGroupName
WorkflowParticipantGroupInputParameter.Builder withParticipantGroupName(String participantGroupName) Required: sets the participant group name.- Parameters:
participantGroupName- name of the participant group to add participants to- Returns:
- this
WorkflowParticipantGroupInputParameter.Builder
-
withUserIds
Optional: sets the user IDs to add to a participant group.- Parameters:
userIds- list of user IDs- Returns:
- this
WorkflowParticipantGroupInputParameter.Builder
-
withGroupIds
Optional: sets the group IDs to add to a participant group.- Parameters:
groupIds- list of group IDs- Returns:
- this
WorkflowParticipantGroupInputParameter.Builder
-
build
Validates and constructs a completedWorkflowParticipantGroupInputParameter. Participant group name is set. At least one user or group ID is provided.- Returns:
- this completed
WorkflowParticipantGroupInputParameter
-