Interface DescribeClustersRequest.Builder

  • Method Details

    • filters

      One or more filters to limit the items returned in the response.

      Use the clusterIds filter to return only the specified clusters. Specify clusters by their cluster identifier (ID).

      Use the vpcIds filter to return only the clusters in the specified virtual private clouds (VPCs). Specify VPCs by their VPC identifier (ID).

      Use the states filter to return only clusters that match the specified state.

      Parameters:
      filters - One or more filters to limit the items returned in the response.

      Use the clusterIds filter to return only the specified clusters. Specify clusters by their cluster identifier (ID).

      Use the vpcIds filter to return only the clusters in the specified virtual private clouds (VPCs). Specify VPCs by their VPC identifier (ID).

      Use the states filter to return only clusters that match the specified state.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      The NextToken value that you received in the previous response. Use this value to get more clusters.

      Parameters:
      nextToken - The NextToken value that you received in the previous response. Use this value to get more clusters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxResults

      DescribeClustersRequest.Builder maxResults(Integer maxResults)

      The maximum number of clusters to return in the response. When there are more clusters than the number you specify, the response contains a NextToken value.

      Parameters:
      maxResults - The maximum number of clusters to return in the response. When there are more clusters than the number you specify, the response contains a NextToken value.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      DescribeClustersRequest.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.