Interface ListClustersV2Request.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListClustersV2Request.Builder,ListClustersV2Request>
,KafkaRequest.Builder
,SdkBuilder<ListClustersV2Request.Builder,ListClustersV2Request>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- ListClustersV2Request
public static interface ListClustersV2Request.Builder extends KafkaRequest.Builder, SdkPojo, CopyableBuilder<ListClustersV2Request.Builder,ListClustersV2Request>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListClustersV2Request.Builder
clusterNameFilter(String clusterNameFilter)
Specify a prefix of the names of the clusters that you want to list.ListClustersV2Request.Builder
clusterTypeFilter(String clusterTypeFilter)
Specify either PROVISIONED or SERVERLESS.ListClustersV2Request.Builder
maxResults(Integer maxResults)
The maximum number of results to return in the response.ListClustersV2Request.Builder
nextToken(String nextToken)
The paginated results marker.ListClustersV2Request.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
ListClustersV2Request.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, sdkFields
-
-
-
-
Method Detail
-
clusterNameFilter
ListClustersV2Request.Builder clusterNameFilter(String 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
ListClustersV2Request.Builder clusterTypeFilter(String 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
ListClustersV2Request.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
ListClustersV2Request.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
ListClustersV2Request.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
ListClustersV2Request.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-