Interface GetWorkflowResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetWorkflowResponse.Builder,GetWorkflowResponse>,CustomerProfilesResponse.Builder,SdkBuilder<GetWorkflowResponse.Builder,GetWorkflowResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetWorkflowResponse
public static interface GetWorkflowResponse.Builder extends CustomerProfilesResponse.Builder, SdkPojo, CopyableBuilder<GetWorkflowResponse.Builder,GetWorkflowResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetWorkflowResponse.Builderattributes(Consumer<WorkflowAttributes.Builder> attributes)Attributes provided for workflow execution.GetWorkflowResponse.Builderattributes(WorkflowAttributes attributes)Attributes provided for workflow execution.GetWorkflowResponse.BuildererrorDescription(String errorDescription)Workflow error messages during execution (if any).GetWorkflowResponse.BuilderlastUpdatedAt(Instant lastUpdatedAt)The timestamp that represents when workflow execution last updated.default GetWorkflowResponse.Buildermetrics(Consumer<WorkflowMetrics.Builder> metrics)Workflow specific execution metrics.GetWorkflowResponse.Buildermetrics(WorkflowMetrics metrics)Workflow specific execution metrics.GetWorkflowResponse.BuilderstartDate(Instant startDate)The timestamp that represents when workflow execution started.GetWorkflowResponse.Builderstatus(String status)Status of workflow execution.GetWorkflowResponse.Builderstatus(Status status)Status of workflow execution.GetWorkflowResponse.BuilderworkflowId(String workflowId)Unique identifier for the workflow.GetWorkflowResponse.BuilderworkflowType(String workflowType)The type of workflow.GetWorkflowResponse.BuilderworkflowType(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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
workflowId
GetWorkflowResponse.Builder workflowId(String 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
GetWorkflowResponse.Builder workflowType(String 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,WorkflowType
-
workflowType
GetWorkflowResponse.Builder workflowType(WorkflowType 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,WorkflowType
-
status
GetWorkflowResponse.Builder status(String status)
Status of workflow execution.
-
status
GetWorkflowResponse.Builder status(Status status)
Status of workflow execution.
-
errorDescription
GetWorkflowResponse.Builder errorDescription(String 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
GetWorkflowResponse.Builder startDate(Instant 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
GetWorkflowResponse.Builder lastUpdatedAt(Instant 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
GetWorkflowResponse.Builder attributes(WorkflowAttributes 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
default GetWorkflowResponse.Builder attributes(Consumer<WorkflowAttributes.Builder> attributes)
Attributes provided for workflow execution.
This is a convenience method that creates an instance of theWorkflowAttributes.Builderavoiding the need to create one manually viaWorkflowAttributes.builder().When the
Consumercompletes,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:
attributes(WorkflowAttributes)
-
metrics
GetWorkflowResponse.Builder metrics(WorkflowMetrics 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
default GetWorkflowResponse.Builder metrics(Consumer<WorkflowMetrics.Builder> metrics)
Workflow specific execution metrics.
This is a convenience method that creates an instance of theWorkflowMetrics.Builderavoiding the need to create one manually viaWorkflowMetrics.builder().When the
Consumercompletes,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:
metrics(WorkflowMetrics)
-
-