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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeSavingsPlanRatesRequest.Builderfilters(Collection<SavingsPlanRateFilter> filters)The filters.DescribeSavingsPlanRatesRequest.Builderfilters(Consumer<SavingsPlanRateFilter.Builder>... filters)The filters.DescribeSavingsPlanRatesRequest.Builderfilters(SavingsPlanRateFilter... filters)The filters.DescribeSavingsPlanRatesRequest.BuildermaxResults(Integer maxResults)The maximum number of results to return with a single call.DescribeSavingsPlanRatesRequest.BuildernextToken(String nextToken)The token for the next page of results.DescribeSavingsPlanRatesRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)DescribeSavingsPlanRatesRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)DescribeSavingsPlanRatesRequest.BuildersavingsPlanId(String savingsPlanId)The ID of the Savings Plan.-
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.savingsplans.model.SavingsplansRequest.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 Detail
-
savingsPlanId
DescribeSavingsPlanRatesRequest.Builder savingsPlanId(String 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
DescribeSavingsPlanRatesRequest.Builder filters(Collection<SavingsPlanRateFilter> filters)
The filters.
- Parameters:
filters- The filters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
DescribeSavingsPlanRatesRequest.Builder filters(SavingsPlanRateFilter... filters)
The filters.
- Parameters:
filters- The filters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
DescribeSavingsPlanRatesRequest.Builder filters(Consumer<SavingsPlanRateFilter.Builder>... 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 to#filters(List.) - 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:
#filters(java.util.Collection)
-
nextToken
DescribeSavingsPlanRatesRequest.Builder nextToken(String 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
DescribeSavingsPlanRatesRequest.Builder maxResults(Integer 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
DescribeSavingsPlanRatesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-