Class CfnPricingRulePropsMixin.CustomTierProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.billingconductor.CfnPricingRulePropsMixin.CustomTierProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPricingRulePropsMixin.CustomTierProperty>
- Enclosing interface:
CfnPricingRulePropsMixin.CustomTierProperty
@Stability(Stable)
public static final class CfnPricingRulePropsMixin.CustomTierProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPricingRulePropsMixin.CustomTierProperty>
A builder for
CfnPricingRulePropsMixin.CustomTierProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbeginRangeInclusive(Number beginRangeInclusive) Sets the value ofCfnPricingRulePropsMixin.CustomTierProperty.getBeginRangeInclusive()build()Builds the configured instance.endRangeExclusive(Number endRangeExclusive) Sets the value ofCfnPricingRulePropsMixin.CustomTierProperty.getEndRangeExclusive()Sets the value ofCfnPricingRulePropsMixin.CustomTierProperty.getRateValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
beginRangeInclusive
@Stability(Stable) public CfnPricingRulePropsMixin.CustomTierProperty.Builder beginRangeInclusive(Number beginRangeInclusive) Sets the value ofCfnPricingRulePropsMixin.CustomTierProperty.getBeginRangeInclusive()- Parameters:
beginRangeInclusive- The inclusive beginning of the tier's usage range.- Returns:
this
-
endRangeExclusive
@Stability(Stable) public CfnPricingRulePropsMixin.CustomTierProperty.Builder endRangeExclusive(Number endRangeExclusive) Sets the value ofCfnPricingRulePropsMixin.CustomTierProperty.getEndRangeExclusive()- Parameters:
endRangeExclusive- The exclusive end of the tier's usage range. Omit for the last tier (infinity).- Returns:
this
-
rateValue
@Stability(Stable) public CfnPricingRulePropsMixin.CustomTierProperty.Builder rateValue(Number rateValue) Sets the value ofCfnPricingRulePropsMixin.CustomTierProperty.getRateValue()- Parameters:
rateValue- The custom rate applied to usage within the tier's range.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPricingRulePropsMixin.CustomTierProperty>- Returns:
- a new instance of
CfnPricingRulePropsMixin.CustomTierProperty - Throws:
NullPointerException- if any required attribute was not provided
-