Interface ConfigurableUpfrontPricingTerm.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ConfigurableUpfrontPricingTerm.Builder,,ConfigurableUpfrontPricingTerm> SdkBuilder<ConfigurableUpfrontPricingTerm.Builder,,ConfigurableUpfrontPricingTerm> SdkPojo
- Enclosing class:
ConfigurableUpfrontPricingTerm
@Mutable
@NotThreadSafe
public static interface ConfigurableUpfrontPricingTerm.Builder
extends SdkPojo, CopyableBuilder<ConfigurableUpfrontPricingTerm.Builder,ConfigurableUpfrontPricingTerm>
-
Method Summary
Modifier and TypeMethodDescriptioncurrencyCode(String currencyCode) Defines the currency for the prices in this term.The unique identifier of the term.rateCards(Collection<ConfigurableUpfrontRateCardItem> rateCards) The rate cards available for selection, each with a selector, constraints, and per-unit rates.rateCards(Consumer<ConfigurableUpfrontRateCardItem.Builder>... rateCards) The rate cards available for selection, each with a selector, constraints, and per-unit rates.rateCards(ConfigurableUpfrontRateCardItem... rateCards) The rate cards available for selection, each with a selector, constraints, and per-unit rates.The category of the term.The category of the term.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
id
The unique identifier of the term.
- Parameters:
id- The unique identifier of the term.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The category of the term.
- Parameters:
type- The category of the term.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The category of the term.
- Parameters:
type- The category of the term.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
currencyCode
Defines the currency for the prices in this term.
- Parameters:
currencyCode- Defines the currency for the prices in this term.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rateCards
ConfigurableUpfrontPricingTerm.Builder rateCards(Collection<ConfigurableUpfrontRateCardItem> rateCards) The rate cards available for selection, each with a selector, constraints, and per-unit rates.
- Parameters:
rateCards- The rate cards available for selection, each with a selector, constraints, and per-unit rates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rateCards
The rate cards available for selection, each with a selector, constraints, and per-unit rates.
- Parameters:
rateCards- The rate cards available for selection, each with a selector, constraints, and per-unit rates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rateCards
ConfigurableUpfrontPricingTerm.Builder rateCards(Consumer<ConfigurableUpfrontRateCardItem.Builder>... rateCards) The rate cards available for selection, each with a selector, constraints, and per-unit rates.
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 onConfigurableUpfrontRateCardItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-