Interface ListClustersResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListClustersResponse.Builder,,ListClustersResponse> EcsResponse.Builder,SdkBuilder<ListClustersResponse.Builder,,ListClustersResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListClustersResponse
@Mutable
@NotThreadSafe
public static interface ListClustersResponse.Builder
extends EcsResponse.Builder, SdkPojo, CopyableBuilder<ListClustersResponse.Builder,ListClustersResponse>
-
Method Summary
Modifier and TypeMethodDescriptionclusterArns(String... clusterArns) The list of full Amazon Resource Name (ARN) entries for each cluster that's associated with your account.clusterArns(Collection<String> clusterArns) The list of full Amazon Resource Name (ARN) entries for each cluster that's associated with your account.ThenextTokenvalue to include in a futureListClustersrequest.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ecs.model.EcsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
clusterArns
The list of full Amazon Resource Name (ARN) entries for each cluster that's associated with your account.
- Parameters:
clusterArns- The list of full Amazon Resource Name (ARN) entries for each cluster that's associated with your account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterArns
The list of full Amazon Resource Name (ARN) entries for each cluster that's associated with your account.
- Parameters:
clusterArns- The list of full Amazon Resource Name (ARN) entries for each cluster that's associated with your account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The
nextTokenvalue to include in a futureListClustersrequest. When the results of aListClustersrequest exceedmaxResults, this value can be used to retrieve the next page of results. This value isnullwhen there are no more results to return.- Parameters:
nextToken- ThenextTokenvalue to include in a futureListClustersrequest. When the results of aListClustersrequest exceedmaxResults, this value can be used to retrieve the next page of results. This value isnullwhen there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-