Interface DescribeGlobalClustersResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeGlobalClustersResponse.Builder,
,DescribeGlobalClustersResponse> NeptuneResponse.Builder
,SdkBuilder<DescribeGlobalClustersResponse.Builder,
,DescribeGlobalClustersResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeGlobalClustersResponse
public static interface DescribeGlobalClustersResponse.Builder
extends NeptuneResponse.Builder, SdkPojo, CopyableBuilder<DescribeGlobalClustersResponse.Builder,DescribeGlobalClustersResponse>
-
Method Summary
Modifier and TypeMethodDescriptionglobalClusters
(Collection<GlobalCluster> globalClusters) The list of global clusters and instances returned by this request.globalClusters
(Consumer<GlobalCluster.Builder>... globalClusters) The list of global clusters and instances returned by this request.globalClusters
(GlobalCluster... globalClusters) The list of global clusters and instances returned by this request.A pagination token.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.neptune.model.NeptuneResponse.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
A pagination token. If this parameter is returned in the response, more records are available, which can be retrieved by one or more additional calls to
DescribeGlobalClusters
.- Parameters:
marker
- A pagination token. If this parameter is returned in the response, more records are available, which can be retrieved by one or more additional calls toDescribeGlobalClusters
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
globalClusters
The list of global clusters and instances returned by this request.
- Parameters:
globalClusters
- The list of global clusters and instances 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 and instances returned by this request.
- Parameters:
globalClusters
- The list of global clusters and instances 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 and instances 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:
-