Package com.veeva.vault.sdk.api.workflow
Interface WorkflowUpdateDueDateRequest.Builder
- Enclosing interface:
- WorkflowUpdateDueDateRequest
public static interface WorkflowUpdateDueDateRequest.Builder
Builds a
WorkflowUpdateDueDateRequest.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aWorkflowUpdateDueDateRequestbased on the values set in the builder.withDueDate(ZonedDateTime dueDate) Required: sets the new due date.withWorkflowId(String workflowId) Required: sets the active workflow ID.
-
Method Details
-
withWorkflowId
Required: sets the active workflow ID.- Parameters:
workflowId- of the workflow being updated- Returns:
- this
WorkflowUpdateDueDateRequest.Builder
-
withDueDate
Required: sets the new due date.- Parameters:
dueDate- new workflow due date- Returns:
- this
WorkflowUpdateDueDateRequest.Builder
-
build
WorkflowUpdateDueDateRequest build()Builds aWorkflowUpdateDueDateRequestbased on the values set in the builder.- Returns:
- the built workflow update due date request
-