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'sNextTokenparameter 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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.opsworks.model.OpsWorksRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.
DescribeEcsClustersreturns a description of the cluster that is registered with the stack.- Parameters:
stackId- A stack ID.DescribeEcsClustersreturns 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
NextTokenparameter value is set to a token. To retrieve the next set of results, callDescribeEcsClustersagain and assign that token to the request object'sNextTokenparameter. If there are no remaining results, the previous response object'sNextTokenparameter is set tonull.- Parameters:
nextToken- If the previous paginated request did not return all of the remaining results, the response object'sNextTokenparameter value is set to a token. To retrieve the next set of results, callDescribeEcsClustersagain and assign that token to the request object'sNextTokenparameter. If there are no remaining results, the previous response object'sNextTokenparameter 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
NextTokenvalue that you can assign to theNextTokenrequest 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 aNextTokenvalue that you can assign to theNextTokenrequest 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-