Interface ListClustersRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListClustersRequest.Builder,
,ListClustersRequest> EksRequest.Builder
,SdkBuilder<ListClustersRequest.Builder,
,ListClustersRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListClustersRequest
-
Method Summary
Modifier and TypeMethodDescriptionIndicates whether external clusters are included in the returned list.include
(Collection<String> include) Indicates whether external clusters are included in the returned list.maxResults
(Integer maxResults) The maximum number of cluster results returned byListClusters
in paginated output.ThenextToken
value returned from a previous paginatedListClusters
request wheremaxResults
was used and the results exceeded the value of that parameter.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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 Details
-
maxResults
The maximum number of cluster results returned by
ListClusters
in paginated output. When you use this parameter,ListClusters
returns onlymaxResults
results in a single page along with anextToken
response element. You can see the remaining results of the initial request by sending anotherListClusters
request with the returnednextToken
value. This value can be between 1 and 100. If you don't use this parameter,ListClusters
returns up to 100 results and anextToken
value if applicable.- Parameters:
maxResults
- The maximum number of cluster results returned byListClusters
in paginated output. When you use this parameter,ListClusters
returns onlymaxResults
results in a single page along with anextToken
response element. You can see the remaining results of the initial request by sending anotherListClusters
request with the returnednextToken
value. This value can be between 1 and 100. If you don't use this parameter,ListClusters
returns up to 100 results and anextToken
value if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The
nextToken
value returned from a previous paginatedListClusters
request wheremaxResults
was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextToken
value.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
- ThenextToken
value returned from a previous paginatedListClusters
request wheremaxResults
was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextToken
value.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
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
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) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListClustersRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-