Interface DescribeGlobalClustersResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeGlobalClustersResponse.Builder,,DescribeGlobalClustersResponse> DocDbResponse.Builder,SdkBuilder<DescribeGlobalClustersResponse.Builder,,DescribeGlobalClustersResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeGlobalClustersResponse
public static interface DescribeGlobalClustersResponse.Builder
extends DocDbResponse.Builder, SdkPojo, CopyableBuilder<DescribeGlobalClustersResponse.Builder,DescribeGlobalClustersResponse>
-
Method Summary
Modifier and TypeMethodDescriptionglobalClusters(Collection<GlobalCluster> globalClusters) globalClusters(Consumer<GlobalCluster.Builder>... globalClusters) This is a convenience method that creates an instance of theGlobalCluster.Builderavoiding the need to create one manually viaGlobalCluster.builder().globalClusters(GlobalCluster... globalClusters) Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.docdb.model.DocDbResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkHttpResponse
-
Method Details
-
marker
- Parameters:
marker-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
globalClusters
- Parameters:
globalClusters-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
globalClusters
- Parameters:
globalClusters-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
globalClusters
DescribeGlobalClustersResponse.Builder globalClusters(Consumer<GlobalCluster.Builder>... globalClusters) This is a convenience method that creates an instance of theGlobalCluster.Builderavoiding the need to create one manually viaGlobalCluster.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toglobalClusters(List<GlobalCluster>).- Parameters:
globalClusters- a consumer that will call methods onGlobalCluster.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-