Interface DescribeEcsClustersResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeEcsClustersResponse.Builder,DescribeEcsClustersResponse>,OpsWorksResponse.Builder,SdkBuilder<DescribeEcsClustersResponse.Builder,DescribeEcsClustersResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeEcsClustersResponse
public static interface DescribeEcsClustersResponse.Builder extends OpsWorksResponse.Builder, SdkPojo, CopyableBuilder<DescribeEcsClustersResponse.Builder,DescribeEcsClustersResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeEcsClustersResponse.BuilderecsClusters(Collection<EcsCluster> ecsClusters)A list ofEcsClusterobjects containing the cluster descriptions.DescribeEcsClustersResponse.BuilderecsClusters(Consumer<EcsCluster.Builder>... ecsClusters)A list ofEcsClusterobjects containing the cluster descriptions.DescribeEcsClustersResponse.BuilderecsClusters(EcsCluster... ecsClusters)A list ofEcsClusterobjects containing the cluster descriptions.DescribeEcsClustersResponse.BuildernextToken(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'sNextTokenparameter to retrieve the next set of results.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.opsworks.model.OpsWorksResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
ecsClusters
DescribeEcsClustersResponse.Builder ecsClusters(Collection<EcsCluster> ecsClusters)
A list of
EcsClusterobjects containing the cluster descriptions.- Parameters:
ecsClusters- A list ofEcsClusterobjects 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
EcsClusterobjects containing the cluster descriptions.- Parameters:
ecsClusters- A list ofEcsClusterobjects containing the cluster descriptions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ecsClusters
DescribeEcsClustersResponse.Builder ecsClusters(Consumer<EcsCluster.Builder>... ecsClusters)
A list of
This is a convenience method that creates an instance of theEcsClusterobjects containing the cluster descriptions.EcsCluster.Builderavoiding the need to create one manually viaEcsCluster.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#ecsClusters(List.) - Parameters:
ecsClusters- a consumer that will call methods onEcsCluster.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#ecsClusters(java.util.Collection)
-
nextToken
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
NextTokenparameter to retrieve the next set of results. If the previous paginated request returned all of the remaining results, this parameter is set tonull.- 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'sNextTokenparameter to retrieve the next set of results. If the previous paginated request returned all of the remaining results, this parameter is set tonull.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-