Interface DescribeGlobalClustersResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeGlobalClustersResponse.Builder,
,DescribeGlobalClustersResponse> DocDbResponse.Builder
,SdkBuilder<DescribeGlobalClustersResponse.Builder,
,DescribeGlobalClustersResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeGlobalClustersResponse
@Mutable
@NotThreadSafe
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.Builder
avoiding the need to create one manually viaGlobalCluster.builder()
.globalClusters
(GlobalCluster... globalClusters) Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.docdb.model.DocDbResponse.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, sdkFieldNameToField, sdkFields
Methods 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.Builder
avoiding the need to create one manually viaGlobalCluster.builder()
.When the
Consumer
completes,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:
-