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.BuilderclusterMetadata(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods 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.Builderavoiding the need to create one manually viaClusterMetadata.builder().When the
Consumercompletes,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:
-