Interface DescribeGlobalClustersResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeGlobalClustersResponse.Builder,
,DescribeGlobalClustersResponse> RdsResponse.Builder
,SdkBuilder<DescribeGlobalClustersResponse.Builder,
,DescribeGlobalClustersResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeGlobalClustersResponse
public static interface DescribeGlobalClustersResponse.Builder
extends RdsResponse.Builder, SdkPojo, CopyableBuilder<DescribeGlobalClustersResponse.Builder,DescribeGlobalClustersResponse>
-
Method Summary
Modifier and TypeMethodDescriptionglobalClusters
(Collection<GlobalCluster> globalClusters) The list of global clusters returned by this request.globalClusters
(Consumer<GlobalCluster.Builder>... globalClusters) The list of global clusters returned by this request.globalClusters
(GlobalCluster... globalClusters) The list of global clusters returned by this request.An optional pagination token provided by a previousDescribeGlobalClusters
request.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.rds.model.RdsResponse.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 Details
-
marker
An optional pagination token provided by a previous
DescribeGlobalClusters
request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified byMaxRecords
.- Parameters:
marker
- An optional pagination token provided by a previousDescribeGlobalClusters
request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified byMaxRecords
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
globalClusters
The list of global clusters returned by this request.
- Parameters:
globalClusters
- The list of global clusters returned by this request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
globalClusters
The list of global clusters returned by this request.
- Parameters:
globalClusters
- The list of global clusters returned by this request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
globalClusters
DescribeGlobalClustersResponse.Builder globalClusters(Consumer<GlobalCluster.Builder>... globalClusters) The list of global clusters returned by this request.
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:
-