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 Details

    • 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)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.