Interface ConfigurableUpfrontPricingTerm.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ConfigurableUpfrontPricingTerm.Builder,
,ConfigurableUpfrontPricingTerm> SdkBuilder<ConfigurableUpfrontPricingTerm.Builder,
,ConfigurableUpfrontPricingTerm> SdkPojo
- Enclosing class:
ConfigurableUpfrontPricingTerm
-
Method Summary
Modifier and TypeMethodDescriptionconfiguration
(Consumer<ConfigurableUpfrontPricingTermConfiguration.Builder> configuration) Additional parameters specified by the acceptor while accepting the term.configuration
(ConfigurableUpfrontPricingTermConfiguration configuration) Additional parameters specified by the acceptor while accepting the term.currencyCode
(String currencyCode) Defines the currency for the prices mentioned in the term.rateCards
(Collection<ConfigurableUpfrontRateCardItem> rateCards) A rate card defines the per unit rates for product dimensions.rateCards
(Consumer<ConfigurableUpfrontRateCardItem.Builder>... rateCards) A rate card defines the per unit rates for product dimensions.rateCards
(ConfigurableUpfrontRateCardItem... rateCards) A rate card defines the per unit rates for product dimensions.Category of selector.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
configuration
ConfigurableUpfrontPricingTerm.Builder configuration(ConfigurableUpfrontPricingTermConfiguration configuration) Additional parameters specified by the acceptor while accepting the term.
- Parameters:
configuration
- Additional parameters specified by the acceptor while accepting the term.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default ConfigurableUpfrontPricingTerm.Builder configuration(Consumer<ConfigurableUpfrontPricingTermConfiguration.Builder> configuration) Additional parameters specified by the acceptor while accepting the term.
This is a convenience method that creates an instance of theConfigurableUpfrontPricingTermConfiguration.Builder
avoiding the need to create one manually viaConfigurableUpfrontPricingTermConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconfiguration(ConfigurableUpfrontPricingTermConfiguration)
.- Parameters:
configuration
- a consumer that will call methods onConfigurableUpfrontPricingTermConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
currencyCode
Defines the currency for the prices mentioned in the term.
- Parameters:
currencyCode
- Defines the currency for the prices mentioned in the term.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rateCards
ConfigurableUpfrontPricingTerm.Builder rateCards(Collection<ConfigurableUpfrontRateCardItem> rateCards) A rate card defines the per unit rates for product dimensions.
- Parameters:
rateCards
- A rate card defines the per unit rates for product dimensions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rateCards
A rate card defines the per unit rates for product dimensions.
- Parameters:
rateCards
- A rate card defines the per unit rates for product dimensions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rateCards
ConfigurableUpfrontPricingTerm.Builder rateCards(Consumer<ConfigurableUpfrontRateCardItem.Builder>... rateCards) A rate card defines the per unit rates for product dimensions.
This is a convenience method that creates an instance of theConfigurableUpfrontRateCardItem.Builder
avoiding the need to create one manually viaConfigurableUpfrontRateCardItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torateCards(List<ConfigurableUpfrontRateCardItem>)
.- Parameters:
rateCards
- a consumer that will call methods onConfigurableUpfrontRateCardItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
Category of selector.
- Parameters:
type
- Category of selector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-