Interface DescribeSavingsPlansOfferingRatesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<DescribeSavingsPlansOfferingRatesRequest.Builder,
,DescribeSavingsPlansOfferingRatesRequest> SavingsplansRequest.Builder
,SdkBuilder<DescribeSavingsPlansOfferingRatesRequest.Builder,
,DescribeSavingsPlansOfferingRatesRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
DescribeSavingsPlansOfferingRatesRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe filters.filters
(Consumer<SavingsPlanOfferingRateFilterElement.Builder>... filters) The filters.filters
(SavingsPlanOfferingRateFilterElement... 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.operations
(String... operations) The specific Amazon Web Services operation for the line item in the billing report.operations
(Collection<String> operations) The specific Amazon Web Services operation for the line item in the billing report.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.products
(Collection<SavingsPlanProductType> products) The Amazon Web Services products.products
(SavingsPlanProductType... products) The Amazon Web Services products.productsWithStrings
(String... products) The Amazon Web Services products.productsWithStrings
(Collection<String> products) The Amazon Web Services products.savingsPlanOfferingIds
(String... savingsPlanOfferingIds) The IDs of the offerings.savingsPlanOfferingIds
(Collection<String> savingsPlanOfferingIds) The IDs of the offerings.savingsPlanPaymentOptions
(Collection<SavingsPlanPaymentOption> savingsPlanPaymentOptions) The payment options.savingsPlanPaymentOptions
(SavingsPlanPaymentOption... savingsPlanPaymentOptions) The payment options.savingsPlanPaymentOptionsWithStrings
(String... savingsPlanPaymentOptions) The payment options.savingsPlanPaymentOptionsWithStrings
(Collection<String> savingsPlanPaymentOptions) The payment options.savingsPlanTypes
(Collection<SavingsPlanType> savingsPlanTypes) The plan types.savingsPlanTypes
(SavingsPlanType... savingsPlanTypes) The plan types.savingsPlanTypesWithStrings
(String... savingsPlanTypes) The plan types.savingsPlanTypesWithStrings
(Collection<String> savingsPlanTypes) The plan types.serviceCodes
(Collection<SavingsPlanRateServiceCode> serviceCodes) The services.serviceCodes
(SavingsPlanRateServiceCode... serviceCodes) The services.serviceCodesWithStrings
(String... serviceCodes) The services.serviceCodesWithStrings
(Collection<String> serviceCodes) The services.usageTypes
(String... usageTypes) The usage details of the line item in the billing report.usageTypes
(Collection<String> usageTypes) The usage details of the line item in the billing report.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 Details
-
savingsPlanOfferingIds
DescribeSavingsPlansOfferingRatesRequest.Builder savingsPlanOfferingIds(Collection<String> savingsPlanOfferingIds) The IDs of the offerings.
- Parameters:
savingsPlanOfferingIds
- The IDs of the offerings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
savingsPlanOfferingIds
DescribeSavingsPlansOfferingRatesRequest.Builder savingsPlanOfferingIds(String... savingsPlanOfferingIds) The IDs of the offerings.
- Parameters:
savingsPlanOfferingIds
- The IDs of the offerings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
savingsPlanPaymentOptionsWithStrings
DescribeSavingsPlansOfferingRatesRequest.Builder savingsPlanPaymentOptionsWithStrings(Collection<String> savingsPlanPaymentOptions) The payment options.
- Parameters:
savingsPlanPaymentOptions
- The payment options.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
savingsPlanPaymentOptionsWithStrings
DescribeSavingsPlansOfferingRatesRequest.Builder savingsPlanPaymentOptionsWithStrings(String... savingsPlanPaymentOptions) The payment options.
- Parameters:
savingsPlanPaymentOptions
- The payment options.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
savingsPlanPaymentOptions
DescribeSavingsPlansOfferingRatesRequest.Builder savingsPlanPaymentOptions(Collection<SavingsPlanPaymentOption> savingsPlanPaymentOptions) The payment options.
- Parameters:
savingsPlanPaymentOptions
- The payment options.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
savingsPlanPaymentOptions
DescribeSavingsPlansOfferingRatesRequest.Builder savingsPlanPaymentOptions(SavingsPlanPaymentOption... savingsPlanPaymentOptions) The payment options.
- Parameters:
savingsPlanPaymentOptions
- The payment options.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
savingsPlanTypesWithStrings
DescribeSavingsPlansOfferingRatesRequest.Builder savingsPlanTypesWithStrings(Collection<String> savingsPlanTypes) The plan types.
- Parameters:
savingsPlanTypes
- The plan types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
savingsPlanTypesWithStrings
DescribeSavingsPlansOfferingRatesRequest.Builder savingsPlanTypesWithStrings(String... savingsPlanTypes) The plan types.
- Parameters:
savingsPlanTypes
- The plan types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
savingsPlanTypes
DescribeSavingsPlansOfferingRatesRequest.Builder savingsPlanTypes(Collection<SavingsPlanType> savingsPlanTypes) The plan types.
- Parameters:
savingsPlanTypes
- The plan types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
savingsPlanTypes
DescribeSavingsPlansOfferingRatesRequest.Builder savingsPlanTypes(SavingsPlanType... savingsPlanTypes) The plan types.
- Parameters:
savingsPlanTypes
- The plan types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productsWithStrings
The Amazon Web Services products.
- Parameters:
products
- The Amazon Web Services products.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productsWithStrings
The Amazon Web Services products.
- Parameters:
products
- The Amazon Web Services products.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
products
DescribeSavingsPlansOfferingRatesRequest.Builder products(Collection<SavingsPlanProductType> products) The Amazon Web Services products.
- Parameters:
products
- The Amazon Web Services products.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
products
The Amazon Web Services products.
- Parameters:
products
- The Amazon Web Services products.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceCodesWithStrings
DescribeSavingsPlansOfferingRatesRequest.Builder serviceCodesWithStrings(Collection<String> serviceCodes) The services.
- Parameters:
serviceCodes
- The services.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceCodesWithStrings
The services.
- Parameters:
serviceCodes
- The services.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceCodes
DescribeSavingsPlansOfferingRatesRequest.Builder serviceCodes(Collection<SavingsPlanRateServiceCode> serviceCodes) The services.
- Parameters:
serviceCodes
- The services.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceCodes
DescribeSavingsPlansOfferingRatesRequest.Builder serviceCodes(SavingsPlanRateServiceCode... serviceCodes) The services.
- Parameters:
serviceCodes
- The services.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usageTypes
The usage details of the line item in the billing report.
- Parameters:
usageTypes
- The usage details of the line item in the billing report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usageTypes
The usage details of the line item in the billing report.
- Parameters:
usageTypes
- The usage details of the line item in the billing report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operations
The specific Amazon Web Services operation for the line item in the billing report.
- Parameters:
operations
- The specific Amazon Web Services operation for the line item in the billing report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operations
The specific Amazon Web Services operation for the line item in the billing report.
- Parameters:
operations
- The specific Amazon Web Services operation for the line item in the billing report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
DescribeSavingsPlansOfferingRatesRequest.Builder filters(Collection<SavingsPlanOfferingRateFilterElement> filters) The filters.
- Parameters:
filters
- The filters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
DescribeSavingsPlansOfferingRatesRequest.Builder filters(SavingsPlanOfferingRateFilterElement... filters) The filters.
- Parameters:
filters
- The filters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
DescribeSavingsPlansOfferingRatesRequest.Builder filters(Consumer<SavingsPlanOfferingRateFilterElement.Builder>... filters) The filters.
This is a convenience method that creates an instance of theSavingsPlanOfferingRateFilterElement.Builder
avoiding the need to create one manually viaSavingsPlanOfferingRateFilterElement.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilters(List<SavingsPlanOfferingRateFilterElement>)
.- Parameters:
filters
- a consumer that will call methods onSavingsPlanOfferingRateFilterElement.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
DescribeSavingsPlansOfferingRatesRequest.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
DescribeSavingsPlansOfferingRatesRequest.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.
-