Interface ConfigurableUpfrontPricingTerm.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ConfigurableUpfrontPricingTerm.Builder,ConfigurableUpfrontPricingTerm>,SdkBuilder<ConfigurableUpfrontPricingTerm.Builder,ConfigurableUpfrontPricingTerm>,SdkPojo
- Enclosing class:
- ConfigurableUpfrontPricingTerm
public static interface ConfigurableUpfrontPricingTerm.Builder extends SdkPojo, CopyableBuilder<ConfigurableUpfrontPricingTerm.Builder,ConfigurableUpfrontPricingTerm>
-
-
Method Summary
-
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, sdkFields
-
-
-
-
Method Detail
-
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.Builderavoiding the need to create one manually viaConfigurableUpfrontPricingTermConfiguration.builder().When the
Consumercompletes,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:
configuration(ConfigurableUpfrontPricingTermConfiguration)
-
currencyCode
ConfigurableUpfrontPricingTerm.Builder currencyCode(String 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
ConfigurableUpfrontPricingTerm.Builder rateCards(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
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.Builderavoiding the need to create one manually viaConfigurableUpfrontRateCardItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#rateCards(List.) - 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:
#rateCards(java.util.Collection)
-
type
ConfigurableUpfrontPricingTerm.Builder type(String type)
Category of selector.
- Parameters:
type- Category of selector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-