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
Modifier and TypeMethodDescriptionecsClusters(Collection<EcsCluster> ecsClusters) A list ofEcsClusterobjects containing the cluster descriptions.ecsClusters(Consumer<EcsCluster.Builder>... ecsClusters) A list ofEcsClusterobjects containing the cluster descriptions.ecsClusters(EcsCluster... ecsClusters) A list ofEcsClusterobjects containing the cluster descriptions.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
copyMethods inherited from interface software.amazon.awssdk.services.opsworks.model.OpsWorksResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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
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 toecsClusters(List<EcsCluster>).- 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:
-
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.
-