Interface DescribeEcsClustersResponse.Builder

  • Method Details

    • ecsClusters

      A list of EcsCluster objects containing the cluster descriptions.

      Parameters:
      ecsClusters - A list of EcsCluster objects containing the cluster descriptions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ecsClusters

      DescribeEcsClustersResponse.Builder ecsClusters(EcsCluster... ecsClusters)

      A list of EcsCluster objects containing the cluster descriptions.

      Parameters:
      ecsClusters - A list of EcsCluster objects containing the cluster descriptions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ecsClusters

      A list of EcsCluster objects containing the cluster descriptions.

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

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

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

      If a paginated request does not return all of the remaining results, this parameter is set to a token that you can assign to the request object's NextToken parameter to retrieve the next set of results. If the previous paginated request returned all of the remaining results, this parameter is set to null.

      Parameters:
      nextToken - If a paginated request does not return all of the remaining results, this parameter is set to a token that you can assign to the request object's NextToken parameter to retrieve the next set of results. If the previous paginated request returned all of the remaining results, this parameter is set to null.
      Returns:
      Returns a reference to this object so that method calls can be chained together.