Class CfnRuleGroupPropsMixin.PriceProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.wafv2.CfnRuleGroupPropsMixin.PriceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRuleGroupPropsMixin.PriceProperty>
- Enclosing interface:
CfnRuleGroupPropsMixin.PriceProperty
@Stability(Stable)
public static final class CfnRuleGroupPropsMixin.PriceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRuleGroupPropsMixin.PriceProperty>
A builder for
CfnRuleGroupPropsMixin.PriceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnRuleGroupPropsMixin.PriceProperty.getAmount()build()Builds the configured instance.Sets the value ofCfnRuleGroupPropsMixin.PriceProperty.getCurrency()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
amount
Sets the value ofCfnRuleGroupPropsMixin.PriceProperty.getAmount()- Parameters:
amount- The price amount.- Returns:
this
-
currency
Sets the value ofCfnRuleGroupPropsMixin.PriceProperty.getCurrency()- Parameters:
currency- The cryptocurrency to use for payment.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRuleGroupPropsMixin.PriceProperty>- Returns:
- a new instance of
CfnRuleGroupPropsMixin.PriceProperty - Throws:
NullPointerException- if any required attribute was not provided
-