Interface DescribeEcsClustersRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<DescribeEcsClustersRequest.Builder,
,DescribeEcsClustersRequest> OpsWorksRequest.Builder
,SdkBuilder<DescribeEcsClustersRequest.Builder,
,DescribeEcsClustersRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
DescribeEcsClustersRequest
-
Method Summary
Modifier and TypeMethodDescriptionecsClusterArns
(String... ecsClusterArns) A list of ARNs, one for each cluster to be described.ecsClusterArns
(Collection<String> ecsClusterArns) A list of ARNs, one for each cluster to be described.maxResults
(Integer maxResults) To receive a paginated response, use this parameter to specify the maximum number of results to be returned with a single call.If the previous paginated request did not return all of the remaining results, the response object'sNextToken
parameter value is set to a token.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.A stack ID.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.opsworks.model.OpsWorksRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
ecsClusterArns
A list of ARNs, one for each cluster to be described.
- Parameters:
ecsClusterArns
- A list of ARNs, one for each cluster to be described.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ecsClusterArns
A list of ARNs, one for each cluster to be described.
- Parameters:
ecsClusterArns
- A list of ARNs, one for each cluster to be described.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stackId
A stack ID.
DescribeEcsClusters
returns a description of the cluster that is registered with the stack.- Parameters:
stackId
- A stack ID.DescribeEcsClusters
returns a description of the cluster that is registered with the stack.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
If the previous paginated request did not return all of the remaining results, the response object's
NextToken
parameter value is set to a token. To retrieve the next set of results, callDescribeEcsClusters
again and assign that token to the request object'sNextToken
parameter. If there are no remaining results, the previous response object'sNextToken
parameter is set tonull
.- Parameters:
nextToken
- If the previous paginated request did not return all of the remaining results, the response object'sNextToken
parameter value is set to a token. To retrieve the next set of results, callDescribeEcsClusters
again and assign that token to the request object'sNextToken
parameter. If there are no remaining results, the previous response object'sNextToken
parameter is set tonull
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
To receive a paginated response, use this parameter to specify the maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a
NextToken
value that you can assign to theNextToken
request parameter to get the next set of results.- Parameters:
maxResults
- To receive a paginated response, use this parameter to specify the maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes aNextToken
value that you can assign to theNextToken
request parameter to get the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DescribeEcsClustersRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DescribeEcsClustersRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-