Interface ListClustersResponse.Builder

  • Method Details

    • clusters

      The list of clusters.

      Parameters:
      clusters - The list of clusters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clusters

      The list of clusters.

      Parameters:
      clusters - The list of clusters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clusters

      The list of clusters.

      This is a convenience method that creates an instance of the ClusterSummary.Builder avoiding the need to create one manually via ClusterSummary.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to clusters(List<ClusterSummary>).

      Parameters:
      clusters - a consumer that will call methods on ClusterSummary.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • nextToken

      ListClustersResponse.Builder nextToken(String nextToken)

      The value of nextToken is a unique pagination token for each page of results returned. If nextToken is returned, there are more results available. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token returns an HTTP 400 InvalidToken error.

      Parameters:
      nextToken - The value of nextToken is a unique pagination token for each page of results returned. If nextToken is returned, there are more results available. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token returns an HTTP 400 InvalidToken error.
      Returns:
      Returns a reference to this object so that method calls can be chained together.