Interface DescribeSavingsPlanRatesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DescribeSavingsPlanRatesRequest.Builder,,DescribeSavingsPlanRatesRequest> SavingsplansRequest.Builder,SdkBuilder<DescribeSavingsPlanRatesRequest.Builder,,DescribeSavingsPlanRatesRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
DescribeSavingsPlanRatesRequest
public static interface DescribeSavingsPlanRatesRequest.Builder
extends SavingsplansRequest.Builder, SdkPojo, CopyableBuilder<DescribeSavingsPlanRatesRequest.Builder,DescribeSavingsPlanRatesRequest>
-
Method Summary
Modifier and TypeMethodDescriptionfilters(Collection<SavingsPlanRateFilter> filters) The filters.filters(Consumer<SavingsPlanRateFilter.Builder>... filters) The filters.filters(SavingsPlanRateFilter... 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.savingsPlanId(String savingsPlanId) The ID of the Savings Plan.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, sdkFieldNameToField, sdkFields
-
Method Details
-
savingsPlanId
The ID of the Savings Plan.
- Parameters:
savingsPlanId- The ID of the Savings Plan.- 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 theSavingsPlanRateFilter.Builderavoiding the need to create one manually viaSavingsPlanRateFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilters(List<SavingsPlanRateFilter>).- Parameters:
filters- a consumer that will call methods onSavingsPlanRateFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-
overrideConfiguration
DescribeSavingsPlanRatesRequest.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
DescribeSavingsPlanRatesRequest.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.
-