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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DescribeWorkflowResponse.Builderworkflow(Consumer<DescribedWorkflow.Builder> workflow)The structure that contains the details of the workflow.DescribeWorkflowResponse.Builderworkflow(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, sdkFieldNameToField, 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 Detail
-
workflow
DescribeWorkflowResponse.Builder workflow(DescribedWorkflow 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
default DescribeWorkflowResponse.Builder workflow(Consumer<DescribedWorkflow.Builder> workflow)
The structure that contains the details of the workflow.
This is a convenience method that creates an instance of theDescribedWorkflow.Builderavoiding the need to create one manually viaDescribedWorkflow.builder().When the
Consumercompletes,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:
workflow(DescribedWorkflow)
-
-