Interface ListClustersRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListClustersRequest.Builder,ListClustersRequest>
,KafkaRequest.Builder
,SdkBuilder<ListClustersRequest.Builder,ListClustersRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- ListClustersRequest
public static interface ListClustersRequest.Builder extends KafkaRequest.Builder, SdkPojo, CopyableBuilder<ListClustersRequest.Builder,ListClustersRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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 results to return in the response.ListClustersRequest.Builder
nextToken(String nextToken)
The paginated results marker.ListClustersRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
ListClustersRequest.Builder
overrideConfiguration(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.kafka.model.KafkaRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
clusterNameFilter
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
ListClustersRequest.Builder maxResults(Integer maxResults)
The maximum number of results to return in the response. If there are more results, the response includes a NextToken parameter.
- Parameters:
maxResults
-The maximum number of results to return in the response. If there are more results, the response includes a NextToken parameter.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
ListClustersRequest.Builder nextToken(String nextToken)
The paginated results marker. When the result of the operation is truncated, the call returns NextToken in the response. To get the next batch, provide this token in your next request.
- Parameters:
nextToken
-The paginated results marker. When the result of the operation is truncated, the call returns NextToken in the response. To get the next batch, provide this token in your next request.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListClustersRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
ListClustersRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-