Interface ListClustersV2Request.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListClustersV2Request.Builder,,ListClustersV2Request> KafkaRequest.Builder,SdkBuilder<ListClustersV2Request.Builder,,ListClustersV2Request> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListClustersV2Request
-
Method Summary
Modifier and TypeMethodDescriptionclusterNameFilter(String clusterNameFilter) Specify a prefix of the names of the clusters that you want to list.clusterTypeFilter(String clusterTypeFilter) Specify either PROVISIONED or SERVERLESS.maxResults(Integer maxResults) The maximum number of results to return in the response.The paginated results marker.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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.kafka.model.KafkaRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
clusterNameFilter
Specify a prefix of the names 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 names 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.
-
clusterTypeFilter
Specify either PROVISIONED or SERVERLESS.
- Parameters:
clusterTypeFilter-Specify either PROVISIONED or SERVERLESS.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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
ListClustersV2Request.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListClustersV2Request.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-