Interface UsageBasedPricingTerm.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<UsageBasedPricingTerm.Builder,,- UsageBasedPricingTerm> - SdkBuilder<UsageBasedPricingTerm.Builder,,- UsageBasedPricingTerm> - SdkPojo
- Enclosing class:
- UsageBasedPricingTerm
@Mutable
@NotThreadSafe
public static interface UsageBasedPricingTerm.Builder
extends SdkPojo, CopyableBuilder<UsageBasedPricingTerm.Builder,UsageBasedPricingTerm> 
- 
Method SummaryModifier and TypeMethodDescriptioncurrencyCode(String currencyCode) Defines the currency for the prices mentioned in the term.rateCards(Collection<UsageBasedRateCardItem> rateCards) List of rate cards.rateCards(Consumer<UsageBasedRateCardItem.Builder>... rateCards) List of rate cards.rateCards(UsageBasedRateCardItem... rateCards) List of rate cards.Category of the term.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- 
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.
 
- 
rateCardsList of rate cards. - Parameters:
- rateCards- List of rate cards.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
rateCardsList of rate cards. - Parameters:
- rateCards- List of rate cards.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
rateCardsList of rate cards. This is a convenience method that creates an instance of theUsageBasedRateCardItem.Builderavoiding the need to create one manually viaUsageBasedRateCardItem.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torateCards(List<UsageBasedRateCardItem>).- Parameters:
- rateCards- a consumer that will call methods on- UsageBasedRateCardItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
typeCategory of the term. - Parameters:
- type- Category of the term.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-