public static interface GetWorkflowResponse.Builder extends CustomerProfilesResponse.Builder, SdkPojo, CopyableBuilder<GetWorkflowResponse.Builder,GetWorkflowResponse>
| Modifier and Type | Method and Description |
|---|---|
default GetWorkflowResponse.Builder |
attributes(Consumer<WorkflowAttributes.Builder> attributes)
Attributes provided for workflow execution.
|
GetWorkflowResponse.Builder |
attributes(WorkflowAttributes attributes)
Attributes provided for workflow execution.
|
GetWorkflowResponse.Builder |
errorDescription(String errorDescription)
Workflow error messages during execution (if any).
|
GetWorkflowResponse.Builder |
lastUpdatedAt(Instant lastUpdatedAt)
The timestamp that represents when workflow execution last updated.
|
default GetWorkflowResponse.Builder |
metrics(Consumer<WorkflowMetrics.Builder> metrics)
Workflow specific execution metrics.
|
GetWorkflowResponse.Builder |
metrics(WorkflowMetrics metrics)
Workflow specific execution metrics.
|
GetWorkflowResponse.Builder |
startDate(Instant startDate)
The timestamp that represents when workflow execution started.
|
GetWorkflowResponse.Builder |
status(Status status)
Status of workflow execution.
|
GetWorkflowResponse.Builder |
status(String status)
Status of workflow execution.
|
GetWorkflowResponse.Builder |
workflowId(String workflowId)
Unique identifier for the workflow.
|
GetWorkflowResponse.Builder |
workflowType(String workflowType)
The type of workflow.
|
GetWorkflowResponse.Builder |
workflowType(WorkflowType workflowType)
The type of workflow.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetWorkflowResponse.Builder workflowId(String workflowId)
Unique identifier for the workflow.
workflowId - Unique identifier for the workflow.GetWorkflowResponse.Builder workflowType(String workflowType)
The type of workflow. The only supported value is APPFLOW_INTEGRATION.
workflowType - The type of workflow. The only supported value is APPFLOW_INTEGRATION.WorkflowType,
WorkflowTypeGetWorkflowResponse.Builder workflowType(WorkflowType workflowType)
The type of workflow. The only supported value is APPFLOW_INTEGRATION.
workflowType - The type of workflow. The only supported value is APPFLOW_INTEGRATION.WorkflowType,
WorkflowTypeGetWorkflowResponse.Builder status(String status)
Status of workflow execution.
GetWorkflowResponse.Builder status(Status status)
Status of workflow execution.
GetWorkflowResponse.Builder errorDescription(String errorDescription)
Workflow error messages during execution (if any).
errorDescription - Workflow error messages during execution (if any).GetWorkflowResponse.Builder startDate(Instant startDate)
The timestamp that represents when workflow execution started.
startDate - The timestamp that represents when workflow execution started.GetWorkflowResponse.Builder lastUpdatedAt(Instant lastUpdatedAt)
The timestamp that represents when workflow execution last updated.
lastUpdatedAt - The timestamp that represents when workflow execution last updated.GetWorkflowResponse.Builder attributes(WorkflowAttributes attributes)
Attributes provided for workflow execution.
attributes - Attributes provided for workflow execution.default GetWorkflowResponse.Builder attributes(Consumer<WorkflowAttributes.Builder> attributes)
Attributes provided for workflow execution.
This is a convenience method that creates an instance of theWorkflowAttributes.Builder avoiding the
need to create one manually via WorkflowAttributes.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to attributes(WorkflowAttributes).
attributes - a consumer that will call methods on WorkflowAttributes.Builderattributes(WorkflowAttributes)GetWorkflowResponse.Builder metrics(WorkflowMetrics metrics)
Workflow specific execution metrics.
metrics - Workflow specific execution metrics.default GetWorkflowResponse.Builder metrics(Consumer<WorkflowMetrics.Builder> metrics)
Workflow specific execution metrics.
This is a convenience method that creates an instance of theWorkflowMetrics.Builder avoiding the
need to create one manually via WorkflowMetrics.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to metrics(WorkflowMetrics).
metrics - a consumer that will call methods on WorkflowMetrics.Buildermetrics(WorkflowMetrics)Copyright © 2023. All rights reserved.