Interface ListClustersResponse.Builder

  • Method Details

    • clusters

      A list of Amazon DocumentDB elastic clusters.

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

      A list of Amazon DocumentDB elastic clusters.

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

      A list of Amazon DocumentDB elastic clusters.

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

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

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

      ListClustersResponse.Builder nextToken(String nextToken)

      A pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond this token, up to the value specified by max-results.

      If there is no more data in the responce, the nextToken will not be returned.

      Parameters:
      nextToken - A pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond this token, up to the value specified by max-results.

      If there is no more data in the responce, the nextToken will not be returned.

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