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