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 Details

    • 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)
      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.