Interface GetWorkflowResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetWorkflowResponse.Builder,
,GetWorkflowResponse> CustomerProfilesResponse.Builder
,SdkBuilder<GetWorkflowResponse.Builder,
,GetWorkflowResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetWorkflowResponse
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetWorkflowResponse.Builder
attributes
(Consumer<WorkflowAttributes.Builder> attributes) Attributes provided for workflow execution.attributes
(WorkflowAttributes attributes) Attributes provided for workflow execution.errorDescription
(String errorDescription) Workflow error messages during execution (if any).lastUpdatedAt
(Instant lastUpdatedAt) The timestamp that represents when workflow execution last updated.default GetWorkflowResponse.Builder
metrics
(Consumer<WorkflowMetrics.Builder> metrics) Workflow specific execution metrics.metrics
(WorkflowMetrics metrics) Workflow specific execution metrics.The timestamp that represents when workflow execution started.Status of workflow execution.Status of workflow execution.workflowId
(String workflowId) Unique identifier for the workflow.workflowType
(String workflowType) The type of workflow.workflowType
(WorkflowType workflowType) The type of workflow.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.customerprofiles.model.CustomerProfilesResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
workflowId
Unique identifier for the workflow.
- Parameters:
workflowId
- Unique identifier for the workflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workflowType
The type of workflow. The only supported value is APPFLOW_INTEGRATION.
- Parameters:
workflowType
- The type of workflow. The only supported value is APPFLOW_INTEGRATION.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
workflowType
The type of workflow. The only supported value is APPFLOW_INTEGRATION.
- Parameters:
workflowType
- The type of workflow. The only supported value is APPFLOW_INTEGRATION.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
Status of workflow execution.
- Parameters:
status
- Status of workflow execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
Status of workflow execution.
- Parameters:
status
- Status of workflow execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errorDescription
Workflow error messages during execution (if any).
- Parameters:
errorDescription
- Workflow error messages during execution (if any).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startDate
The timestamp that represents when workflow execution started.
- Parameters:
startDate
- The timestamp that represents when workflow execution started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedAt
The timestamp that represents when workflow execution last updated.
- Parameters:
lastUpdatedAt
- The timestamp that represents when workflow execution last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
Attributes provided for workflow execution.
- Parameters:
attributes
- Attributes provided for workflow execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaWorkflowAttributes.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toattributes(WorkflowAttributes)
.- Parameters:
attributes
- a consumer that will call methods onWorkflowAttributes.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
metrics
Workflow specific execution metrics.
- Parameters:
metrics
- Workflow specific execution metrics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metrics
Workflow specific execution metrics.
This is a convenience method that creates an instance of theWorkflowMetrics.Builder
avoiding the need to create one manually viaWorkflowMetrics.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tometrics(WorkflowMetrics)
.- Parameters:
metrics
- a consumer that will call methods onWorkflowMetrics.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-