Interface DescribeCapacityProvidersRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<DescribeCapacityProvidersRequest.Builder,
,DescribeCapacityProvidersRequest> EcsRequest.Builder
,SdkBuilder<DescribeCapacityProvidersRequest.Builder,
,DescribeCapacityProvidersRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
DescribeCapacityProvidersRequest
-
Method Summary
Modifier and TypeMethodDescriptioncapacityProviders
(String... capacityProviders) The short name or full Amazon Resource Name (ARN) of one or more capacity providers.capacityProviders
(Collection<String> capacityProviders) The short name or full Amazon Resource Name (ARN) of one or more capacity providers.include
(Collection<CapacityProviderField> include) Specifies whether or not you want to see the resource tags for the capacity provider.include
(CapacityProviderField... include) Specifies whether or not you want to see the resource tags for the capacity provider.includeWithStrings
(String... include) Specifies whether or not you want to see the resource tags for the capacity provider.includeWithStrings
(Collection<String> include) Specifies whether or not you want to see the resource tags for the capacity provider.maxResults
(Integer maxResults) The maximum number of account setting results returned byDescribeCapacityProviders
in paginated output.ThenextToken
value returned from a previous paginatedDescribeCapacityProviders
request wheremaxResults
was used and the results exceeded the value of that parameter.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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.ecs.model.EcsRequest.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
-
capacityProviders
The short name or full Amazon Resource Name (ARN) of one or more capacity providers. Up to
100
capacity providers can be described in an action.- Parameters:
capacityProviders
- The short name or full Amazon Resource Name (ARN) of one or more capacity providers. Up to100
capacity providers can be described in an action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityProviders
The short name or full Amazon Resource Name (ARN) of one or more capacity providers. Up to
100
capacity providers can be described in an action.- Parameters:
capacityProviders
- The short name or full Amazon Resource Name (ARN) of one or more capacity providers. Up to100
capacity providers can be described in an action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
includeWithStrings
Specifies whether or not you want to see the resource tags for the capacity provider. If
TAGS
is specified, the tags are included in the response. If this field is omitted, tags aren't included in the response.- Parameters:
include
- Specifies whether or not you want to see the resource tags for the capacity provider. IfTAGS
is specified, the tags are included in the response. If this field is omitted, tags aren't included in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
includeWithStrings
Specifies whether or not you want to see the resource tags for the capacity provider. If
TAGS
is specified, the tags are included in the response. If this field is omitted, tags aren't included in the response.- Parameters:
include
- Specifies whether or not you want to see the resource tags for the capacity provider. IfTAGS
is specified, the tags are included in the response. If this field is omitted, tags aren't included in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
include
Specifies whether or not you want to see the resource tags for the capacity provider. If
TAGS
is specified, the tags are included in the response. If this field is omitted, tags aren't included in the response.- Parameters:
include
- Specifies whether or not you want to see the resource tags for the capacity provider. IfTAGS
is specified, the tags are included in the response. If this field is omitted, tags aren't included in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
include
Specifies whether or not you want to see the resource tags for the capacity provider. If
TAGS
is specified, the tags are included in the response. If this field is omitted, tags aren't included in the response.- Parameters:
include
- Specifies whether or not you want to see the resource tags for the capacity provider. IfTAGS
is specified, the tags are included in the response. If this field is omitted, tags aren't included in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of account setting results returned by
DescribeCapacityProviders
in paginated output. When this parameter is used,DescribeCapacityProviders
only returnsmaxResults
results in a single page along with anextToken
response element. The remaining results of the initial request can be seen by sending anotherDescribeCapacityProviders
request with the returnednextToken
value. This value can be between 1 and 10. If this parameter is not used, thenDescribeCapacityProviders
returns up to 10 results and anextToken
value if applicable.- Parameters:
maxResults
- The maximum number of account setting results returned byDescribeCapacityProviders
in paginated output. When this parameter is used,DescribeCapacityProviders
only returnsmaxResults
results in a single page along with anextToken
response element. The remaining results of the initial request can be seen by sending anotherDescribeCapacityProviders
request with the returnednextToken
value. This value can be between 1 and 10. If this parameter is not used, thenDescribeCapacityProviders
returns up to 10 results and anextToken
value if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The
nextToken
value returned from a previous paginatedDescribeCapacityProviders
request wheremaxResults
was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextToken
value.This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
- Parameters:
nextToken
- ThenextToken
value returned from a previous paginatedDescribeCapacityProviders
request wheremaxResults
was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextToken
value.This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DescribeCapacityProvidersRequest.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
DescribeCapacityProvidersRequest.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.
-