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 byDescribeCapacityProvidersin paginated output.ThenextTokenvalue returned from a previous paginatedDescribeCapacityProvidersrequest wheremaxResultswas 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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ecs.model.EcsRequest.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
-
capacityProviders
The short name or full Amazon Resource Name (ARN) of one or more capacity providers. Up to
100capacity 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 to100capacity 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
100capacity 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 to100capacity 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
TAGSis 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. IfTAGSis 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
TAGSis 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. IfTAGSis 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
TAGSis 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. IfTAGSis 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
TAGSis 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. IfTAGSis 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
DescribeCapacityProvidersin paginated output. When this parameter is used,DescribeCapacityProvidersonly returnsmaxResultsresults in a single page along with anextTokenresponse element. The remaining results of the initial request can be seen by sending anotherDescribeCapacityProvidersrequest with the returnednextTokenvalue. This value can be between 1 and 10. If this parameter is not used, thenDescribeCapacityProvidersreturns up to 10 results and anextTokenvalue if applicable.- Parameters:
maxResults- The maximum number of account setting results returned byDescribeCapacityProvidersin paginated output. When this parameter is used,DescribeCapacityProvidersonly returnsmaxResultsresults in a single page along with anextTokenresponse element. The remaining results of the initial request can be seen by sending anotherDescribeCapacityProvidersrequest with the returnednextTokenvalue. This value can be between 1 and 10. If this parameter is not used, thenDescribeCapacityProvidersreturns up to 10 results and anextTokenvalue if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The
nextTokenvalue returned from a previous paginatedDescribeCapacityProvidersrequest wheremaxResultswas used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextTokenvalue.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- ThenextTokenvalue returned from a previous paginatedDescribeCapacityProvidersrequest wheremaxResultswas used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextTokenvalue.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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-