public static interface DescribeEcsClustersResponse.Builder extends OpsWorksResponse.Builder, CopyableBuilder<DescribeEcsClustersResponse.Builder,DescribeEcsClustersResponse>
Modifier and Type | Method and Description |
---|---|
DescribeEcsClustersResponse.Builder |
ecsClusters(Collection<EcsCluster> ecsClusters)
A list of
EcsCluster objects containing the cluster descriptions. |
DescribeEcsClustersResponse.Builder |
ecsClusters(Consumer<EcsCluster.Builder>... ecsClusters)
A list of
EcsCluster objects containing the cluster descriptions. |
DescribeEcsClustersResponse.Builder |
ecsClusters(EcsCluster... ecsClusters)
A list of
EcsCluster objects containing the cluster descriptions. |
DescribeEcsClustersResponse.Builder |
nextToken(String 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. |
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
DescribeEcsClustersResponse.Builder ecsClusters(Collection<EcsCluster> ecsClusters)
A list of EcsCluster
objects containing the cluster descriptions.
ecsClusters
- A list of EcsCluster
objects containing the cluster descriptions.DescribeEcsClustersResponse.Builder ecsClusters(EcsCluster... ecsClusters)
A list of EcsCluster
objects containing the cluster descriptions.
ecsClusters
- A list of EcsCluster
objects containing the cluster descriptions.DescribeEcsClustersResponse.Builder ecsClusters(Consumer<EcsCluster.Builder>... ecsClusters)
A list of EcsCluster
objects containing the cluster descriptions.
List.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #ecsClusters(List)
.ecsClusters
- a consumer that will call methods on List.Builder
#ecsClusters(List)
DescribeEcsClustersResponse.Builder nextToken(String 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
.
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
.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.