Class CfnWebACLPropsMixin.MonetizationConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.wafv2.CfnWebACLPropsMixin.MonetizationConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWebACLPropsMixin.MonetizationConfigProperty>
- Enclosing interface:
CfnWebACLPropsMixin.MonetizationConfigProperty
@Stability(Stable)
public static final class CfnWebACLPropsMixin.MonetizationConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWebACLPropsMixin.MonetizationConfigProperty>
A builder for
CfnWebACLPropsMixin.MonetizationConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.cryptoConfig(CfnWebACLPropsMixin.CryptoConfigProperty cryptoConfig) Sets the value ofCfnWebACLPropsMixin.MonetizationConfigProperty.getCryptoConfig()cryptoConfig(IResolvable cryptoConfig) Sets the value ofCfnWebACLPropsMixin.MonetizationConfigProperty.getCryptoConfig()currencyMode(String currencyMode) Sets the value ofCfnWebACLPropsMixin.MonetizationConfigProperty.getCurrencyMode()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cryptoConfig
@Stability(Stable) public CfnWebACLPropsMixin.MonetizationConfigProperty.Builder cryptoConfig(IResolvable cryptoConfig) Sets the value ofCfnWebACLPropsMixin.MonetizationConfigProperty.getCryptoConfig()- Parameters:
cryptoConfig- Configures cryptocurrency payment settings.- Returns:
this
-
cryptoConfig
@Stability(Stable) public CfnWebACLPropsMixin.MonetizationConfigProperty.Builder cryptoConfig(CfnWebACLPropsMixin.CryptoConfigProperty cryptoConfig) Sets the value ofCfnWebACLPropsMixin.MonetizationConfigProperty.getCryptoConfig()- Parameters:
cryptoConfig- Configures cryptocurrency payment settings.- Returns:
this
-
currencyMode
@Stability(Stable) public CfnWebACLPropsMixin.MonetizationConfigProperty.Builder currencyMode(String currencyMode) Sets the value ofCfnWebACLPropsMixin.MonetizationConfigProperty.getCurrencyMode()- Parameters:
currencyMode- The currency mode for monetization. Use REAL for production payments and TEST for testing with testnet currencies.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWebACLPropsMixin.MonetizationConfigProperty>- Returns:
- a new instance of
CfnWebACLPropsMixin.MonetizationConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-