Interface DescribeWorkflowResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeWorkflowResponse.Builder,
,DescribeWorkflowResponse> SdkBuilder<DescribeWorkflowResponse.Builder,
,DescribeWorkflowResponse> SdkPojo
,SdkResponse.Builder
,TransferResponse.Builder
- Enclosing class:
DescribeWorkflowResponse
public static interface DescribeWorkflowResponse.Builder
extends TransferResponse.Builder, SdkPojo, CopyableBuilder<DescribeWorkflowResponse.Builder,DescribeWorkflowResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DescribeWorkflowResponse.Builder
workflow
(Consumer<DescribedWorkflow.Builder> workflow) The structure that contains the details of the workflow.workflow
(DescribedWorkflow workflow) The structure that contains the details of 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
-
workflow
The structure that contains the details of the workflow.
- Parameters:
workflow
- The structure that contains the details of the workflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workflow
The structure that contains the details of the workflow.
This is a convenience method that creates an instance of theDescribedWorkflow.Builder
avoiding the need to create one manually viaDescribedWorkflow.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toworkflow(DescribedWorkflow)
.- Parameters:
workflow
- a consumer that will call methods onDescribedWorkflow.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-