Interface ListClustersRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListClustersRequest.Builder,ListClustersRequest>,EksRequest.Builder,SdkBuilder<ListClustersRequest.Builder,ListClustersRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListClustersRequest
public static interface ListClustersRequest.Builder extends EksRequest.Builder, SdkPojo, CopyableBuilder<ListClustersRequest.Builder,ListClustersRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListClustersRequest.Builderinclude(String... include)Indicates whether external clusters are included in the returned list.ListClustersRequest.Builderinclude(Collection<String> include)Indicates whether external clusters are included in the returned list.ListClustersRequest.BuildermaxResults(Integer maxResults)The maximum number of cluster results returned byListClustersin paginated output.ListClustersRequest.BuildernextToken(String nextToken)ThenextTokenvalue returned from a previous paginatedListClustersrequest wheremaxResultswas used and the results exceeded the value of that parameter.ListClustersRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListClustersRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.eks.model.EksRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
maxResults
ListClustersRequest.Builder maxResults(Integer maxResults)
The maximum number of cluster results returned by
ListClustersin paginated output. When you use this parameter,ListClustersreturns onlymaxResultsresults in a single page along with anextTokenresponse element. You can see the remaining results of the initial request by sending anotherListClustersrequest with the returnednextTokenvalue. This value can be between 1 and 100. If you don't use this parameter,ListClustersreturns up to 100 results and anextTokenvalue if applicable.- Parameters:
maxResults- The maximum number of cluster results returned byListClustersin paginated output. When you use this parameter,ListClustersreturns onlymaxResultsresults in a single page along with anextTokenresponse element. You can see the remaining results of the initial request by sending anotherListClustersrequest with the returnednextTokenvalue. This value can be between 1 and 100. If you don't use this parameter,ListClustersreturns up to 100 results and anextTokenvalue if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
ListClustersRequest.Builder nextToken(String nextToken)
The
nextTokenvalue returned from a previous paginatedListClustersrequest wheremaxResultswas used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextTokenvalue.This token should be treated as an opaque identifier that is used only to retrieve the next items in a list and not for other programmatic purposes.
- Parameters:
nextToken- ThenextTokenvalue returned from a previous paginatedListClustersrequest wheremaxResultswas used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextTokenvalue.This token should be treated as an opaque identifier that is used only to retrieve the next items in a list and not for other programmatic purposes.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
include
ListClustersRequest.Builder include(Collection<String> include)
Indicates whether external clusters are included in the returned list. Use '
all' to return connected clusters, or blank to return only Amazon EKS clusters. 'all' must be in lowercase otherwise an error occurs.- Parameters:
include- Indicates whether external clusters are included in the returned list. Use 'all' to return connected clusters, or blank to return only Amazon EKS clusters. 'all' must be in lowercase otherwise an error occurs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
include
ListClustersRequest.Builder include(String... include)
Indicates whether external clusters are included in the returned list. Use '
all' to return connected clusters, or blank to return only Amazon EKS clusters. 'all' must be in lowercase otherwise an error occurs.- Parameters:
include- Indicates whether external clusters are included in the returned list. Use 'all' to return connected clusters, or blank to return only Amazon EKS clusters. 'all' must be in lowercase otherwise an error occurs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListClustersRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListClustersRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-