Interface DescribeSavingsPlansRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DescribeSavingsPlansRequest.Builder,,DescribeSavingsPlansRequest> SavingsplansRequest.Builder,SdkBuilder<DescribeSavingsPlansRequest.Builder,,DescribeSavingsPlansRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
DescribeSavingsPlansRequest
public static interface DescribeSavingsPlansRequest.Builder
extends SavingsplansRequest.Builder, SdkPojo, CopyableBuilder<DescribeSavingsPlansRequest.Builder,DescribeSavingsPlansRequest>
-
Method Summary
Modifier and TypeMethodDescriptionfilters(Collection<SavingsPlanFilter> filters) The filters.filters(Consumer<SavingsPlanFilter.Builder>... filters) The filters.filters(SavingsPlanFilter... filters) The filters.maxResults(Integer maxResults) The maximum number of results to return with a single call.The token for the next page of results.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.savingsPlanArns(String... savingsPlanArns) The Amazon Resource Names (ARN) of the Savings Plans.savingsPlanArns(Collection<String> savingsPlanArns) The Amazon Resource Names (ARN) of the Savings Plans.savingsPlanIds(String... savingsPlanIds) The IDs of the Savings Plans.savingsPlanIds(Collection<String> savingsPlanIds) The IDs of the Savings Plans.states(Collection<SavingsPlanState> states) The current states of the Savings Plans.states(SavingsPlanState... states) The current states of the Savings Plans.statesWithStrings(String... states) The current states of the Savings Plans.statesWithStrings(Collection<String> states) The current states of the Savings Plans.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.savingsplans.model.SavingsplansRequest.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
-
savingsPlanArns
The Amazon Resource Names (ARN) of the Savings Plans.
- Parameters:
savingsPlanArns- The Amazon Resource Names (ARN) of the Savings Plans.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
savingsPlanArns
The Amazon Resource Names (ARN) of the Savings Plans.
- Parameters:
savingsPlanArns- The Amazon Resource Names (ARN) of the Savings Plans.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
savingsPlanIds
The IDs of the Savings Plans.
- Parameters:
savingsPlanIds- The IDs of the Savings Plans.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
savingsPlanIds
The IDs of the Savings Plans.
- Parameters:
savingsPlanIds- The IDs of the Savings Plans.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The token for the next page of results.
- Parameters:
nextToken- The token for the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of results to return with a single call. To retrieve additional results, make another call with the returned token value.
- Parameters:
maxResults- The maximum number of results to return with a single call. To retrieve additional results, make another call with the returned token value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statesWithStrings
The current states of the Savings Plans.
- Parameters:
states- The current states of the Savings Plans.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statesWithStrings
The current states of the Savings Plans.
- Parameters:
states- The current states of the Savings Plans.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
states
The current states of the Savings Plans.
- Parameters:
states- The current states of the Savings Plans.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
states
The current states of the Savings Plans.
- Parameters:
states- The current states of the Savings Plans.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
The filters.
- Parameters:
filters- The filters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
The filters.
- Parameters:
filters- The filters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
The filters.
This is a convenience method that creates an instance of theSavingsPlanFilter.Builderavoiding the need to create one manually viaSavingsPlanFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilters(List<SavingsPlanFilter>).- Parameters:
filters- a consumer that will call methods onSavingsPlanFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
DescribeSavingsPlansRequest.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
DescribeSavingsPlansRequest.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.
-