public static interface ListClustersRequest.Builder extends KafkaRequest.Builder, SdkPojo, CopyableBuilder<ListClustersRequest.Builder,ListClustersRequest>
Modifier and Type | Method and Description |
---|---|
ListClustersRequest.Builder |
clusterNameFilter(String clusterNameFilter)
Specify a prefix of the name of the clusters that you want to list.
|
ListClustersRequest.Builder |
maxResults(Integer maxResults)
The maximum number of clusters to return in the response.
|
ListClustersRequest.Builder |
nextToken(String nextToken)
The paginated results marker.
|
ListClustersRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
ListClustersRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
build
overrideConfiguration
copy
applyMutation, build
ListClustersRequest.Builder clusterNameFilter(String clusterNameFilter)
Specify a prefix of the name of the clusters that you want to list. The service lists all the clusters whose names start with this prefix.
clusterNameFilter
- Specify a prefix of the name of the clusters that you want to list. The service lists all the clusters
whose names start with this prefix.ListClustersRequest.Builder maxResults(Integer maxResults)
The maximum number of clusters to return in the response. If there are more clusters, the response includes a NextToken parameter.
maxResults
- The maximum number of clusters to return in the response. If there are more clusters, the response
includes a NextToken parameter.ListClustersRequest.Builder nextToken(String nextToken)
The paginated results marker. When the result of a ListClusters operation is truncated, the call returns NextToken in the response. To get another batch of clusters, provide this token in your next request.
nextToken
- The paginated results marker. When the result of a ListClusters operation is truncated, the call
returns NextToken in the response. To get another batch of clusters, provide this token in your next
request.ListClustersRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.ListClustersRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.