Interface DescribeClusterResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeClusterResponse.Builder,DescribeClusterResponse>
,EmrResponse.Builder
,SdkBuilder<DescribeClusterResponse.Builder,DescribeClusterResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- DescribeClusterResponse
public static interface DescribeClusterResponse.Builder extends EmrResponse.Builder, SdkPojo, CopyableBuilder<DescribeClusterResponse.Builder,DescribeClusterResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DescribeClusterResponse.Builder
cluster(Consumer<Cluster.Builder> cluster)
This output contains the details for the requested cluster.DescribeClusterResponse.Builder
cluster(Cluster cluster)
This output contains the details for the requested cluster.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.emr.model.EmrResponse.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
-
cluster
DescribeClusterResponse.Builder cluster(Cluster cluster)
This output contains the details for the requested cluster.
- Parameters:
cluster
- This output contains the details for the requested cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cluster
default DescribeClusterResponse.Builder cluster(Consumer<Cluster.Builder> cluster)
This output contains the details for the requested cluster.
This is a convenience method that creates an instance of theCluster.Builder
avoiding the need to create one manually viaCluster.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocluster(Cluster)
.- Parameters:
cluster
- a consumer that will call methods onCluster.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
cluster(Cluster)
-
-