Interface DescribeExecutionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeExecutionResponse.Builder,,DescribeExecutionResponse> SdkBuilder<DescribeExecutionResponse.Builder,,DescribeExecutionResponse> SdkPojo,SdkResponse.Builder,TransferResponse.Builder
- Enclosing class:
DescribeExecutionResponse
public static interface DescribeExecutionResponse.Builder
extends TransferResponse.Builder, SdkPojo, CopyableBuilder<DescribeExecutionResponse.Builder,DescribeExecutionResponse>
-
Method Summary
Modifier and TypeMethodDescriptionexecution(Consumer<DescribedExecution.Builder> execution) The structure that contains the details of the workflow' execution.execution(DescribedExecution execution) The structure that contains the details of the workflow' execution.workflowId(String workflowId) A unique identifier for the workflow.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.transfer.model.TransferResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
workflowId
A unique identifier for the workflow.
- Parameters:
workflowId- A unique identifier for the workflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
execution
The structure that contains the details of the workflow' execution.
- Parameters:
execution- The structure that contains the details of the workflow' execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
execution
The structure that contains the details of the workflow' execution.
This is a convenience method that creates an instance of theDescribedExecution.Builderavoiding the need to create one manually viaDescribedExecution.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toexecution(DescribedExecution).- Parameters:
execution- a consumer that will call methods onDescribedExecution.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-