Interface DescribeClustersResponse.Builder

  • Method Details

    • marker

      A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request.

      Parameters:
      marker - A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clusters

      A list of Cluster objects, where each object describes one cluster.

      Parameters:
      clusters - A list of Cluster objects, where each object describes one cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clusters

      A list of Cluster objects, where each object describes one cluster.

      Parameters:
      clusters - A list of Cluster objects, where each object describes one cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clusters

      A list of Cluster objects, where each object describes one cluster.

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

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

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