Class CfnPricingRule.TieringProperty.Builder
java.lang.Object
software.amazon.awscdk.services.billingconductor.CfnPricingRule.TieringProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPricingRule.TieringProperty>
- Enclosing interface:
CfnPricingRule.TieringProperty
@Stability(Stable)
public static final class CfnPricingRule.TieringProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPricingRule.TieringProperty>
A builder for
CfnPricingRule.TieringProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.freeTier
(IResolvable freeTier) Sets the value ofCfnPricingRule.TieringProperty.getFreeTier()
freeTier
(CfnPricingRule.FreeTierProperty freeTier) Sets the value ofCfnPricingRule.TieringProperty.getFreeTier()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
freeTier
Sets the value ofCfnPricingRule.TieringProperty.getFreeTier()
- Parameters:
freeTier
-CfnPricingRule.TieringProperty.FreeTier
.- Returns:
this
-
freeTier
@Stability(Stable) public CfnPricingRule.TieringProperty.Builder freeTier(CfnPricingRule.FreeTierProperty freeTier) Sets the value ofCfnPricingRule.TieringProperty.getFreeTier()
- Parameters:
freeTier
-CfnPricingRule.TieringProperty.FreeTier
.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPricingRule.TieringProperty>
- Returns:
- a new instance of
CfnPricingRule.TieringProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-