Interface DescribeClusterResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeClusterResponse.Builder,
,DescribeClusterResponse> SdkBuilder<DescribeClusterResponse.Builder,
,DescribeClusterResponse> SdkPojo
,SdkResponse.Builder
,SnowballResponse.Builder
- Enclosing class:
DescribeClusterResponse
public static interface DescribeClusterResponse.Builder
extends SnowballResponse.Builder, SdkPojo, CopyableBuilder<DescribeClusterResponse.Builder,DescribeClusterResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DescribeClusterResponse.Builder
clusterMetadata
(Consumer<ClusterMetadata.Builder> clusterMetadata) Information about a specific cluster, including shipping information, cluster status, and other important metadata.clusterMetadata
(ClusterMetadata clusterMetadata) Information about a specific cluster, including shipping information, cluster status, and other important metadata.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.snowball.model.SnowballResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
clusterMetadata
Information about a specific cluster, including shipping information, cluster status, and other important metadata.
- Parameters:
clusterMetadata
- Information about a specific cluster, including shipping information, cluster status, and other important metadata.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterMetadata
default DescribeClusterResponse.Builder clusterMetadata(Consumer<ClusterMetadata.Builder> clusterMetadata) Information about a specific cluster, including shipping information, cluster status, and other important metadata.
This is a convenience method that creates an instance of theClusterMetadata.Builder
avoiding the need to create one manually viaClusterMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toclusterMetadata(ClusterMetadata)
.- Parameters:
clusterMetadata
- a consumer that will call methods onClusterMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-