Interface ConfigurableUpfrontPricingTerm.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<ConfigurableUpfrontPricingTerm.Builder,,- ConfigurableUpfrontPricingTerm> - SdkBuilder<ConfigurableUpfrontPricingTerm.Builder,,- ConfigurableUpfrontPricingTerm> - SdkPojo
- Enclosing class:
- ConfigurableUpfrontPricingTerm
- 
Method SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
configurationConfigurableUpfrontPricingTerm.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.
 
- 
configurationdefault 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 on- ConfigurableUpfrontPricingTermConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
currencyCodeDefines 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.
 
- 
rateCardsConfigurableUpfrontPricingTerm.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.
 
- 
rateCardsA 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.
 
- 
rateCardsConfigurableUpfrontPricingTerm.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 torateCards(List<ConfigurableUpfrontRateCardItem>).- Parameters:
- rateCards- a consumer that will call methods on- ConfigurableUpfrontRateCardItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
typeCategory of selector. - Parameters:
- type- Category of selector.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-