Interface ListClustersResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListClustersResponse.Builder,
,ListClustersResponse> Route53RecoveryControlConfigResponse.Builder
,SdkBuilder<ListClustersResponse.Builder,
,ListClustersResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListClustersResponse
@Mutable
@NotThreadSafe
public static interface ListClustersResponse.Builder
extends Route53RecoveryControlConfigResponse.Builder, SdkPojo, CopyableBuilder<ListClustersResponse.Builder,ListClustersResponse>
-
Method Summary
Modifier and TypeMethodDescriptionclusters
(Collection<Cluster> clusters) An array of the clusters in an account.clusters
(Consumer<Cluster.Builder>... clusters) An array of the clusters in an account.An array of the clusters in an account.The token that identifies which batch of results you want to see.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.route53recoverycontrolconfig.model.Route53RecoveryControlConfigResponse.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
-
clusters
An array of the clusters in an account.
- Parameters:
clusters
- An array of the clusters in an account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusters
An array of the clusters in an account.
- Parameters:
clusters
- An array of the clusters in an account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusters
An array of the clusters in an account.
This is a convenience method that creates an instance of theCluster.Builder
avoiding the need to create one manually viaCluster.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toclusters(List<Cluster>)
.- Parameters:
clusters
- a consumer that will call methods onCluster.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token that identifies which batch of results you want to see.
- Parameters:
nextToken
- The token that identifies which batch of results you want to see.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-