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
copy
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
Methods 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.Builder
avoiding the need to create one manually viaDescribedExecution.builder()
.When the
Consumer
completes,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:
-