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