Class CfnRuleGroupPropsMixin.MonetizationConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.wafv2.CfnRuleGroupPropsMixin.MonetizationConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRuleGroupPropsMixin.MonetizationConfigProperty>
- Enclosing interface:
CfnRuleGroupPropsMixin.MonetizationConfigProperty
@Stability(Stable)
public static final class CfnRuleGroupPropsMixin.MonetizationConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRuleGroupPropsMixin.MonetizationConfigProperty>
A builder for
CfnRuleGroupPropsMixin.MonetizationConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.cryptoConfig(CfnRuleGroupPropsMixin.CryptoConfigProperty cryptoConfig) Sets the value ofCfnRuleGroupPropsMixin.MonetizationConfigProperty.getCryptoConfig()cryptoConfig(IResolvable cryptoConfig) Sets the value ofCfnRuleGroupPropsMixin.MonetizationConfigProperty.getCryptoConfig()currencyMode(String currencyMode) Sets the value ofCfnRuleGroupPropsMixin.MonetizationConfigProperty.getCurrencyMode()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cryptoConfig
@Stability(Stable) public CfnRuleGroupPropsMixin.MonetizationConfigProperty.Builder cryptoConfig(IResolvable cryptoConfig) Sets the value ofCfnRuleGroupPropsMixin.MonetizationConfigProperty.getCryptoConfig()- Parameters:
cryptoConfig- Configures cryptocurrency payment settings.- Returns:
this
-
cryptoConfig
@Stability(Stable) public CfnRuleGroupPropsMixin.MonetizationConfigProperty.Builder cryptoConfig(CfnRuleGroupPropsMixin.CryptoConfigProperty cryptoConfig) Sets the value ofCfnRuleGroupPropsMixin.MonetizationConfigProperty.getCryptoConfig()- Parameters:
cryptoConfig- Configures cryptocurrency payment settings.- Returns:
this
-
currencyMode
@Stability(Stable) public CfnRuleGroupPropsMixin.MonetizationConfigProperty.Builder currencyMode(String currencyMode) Sets the value ofCfnRuleGroupPropsMixin.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<CfnRuleGroupPropsMixin.MonetizationConfigProperty>- Returns:
- a new instance of
CfnRuleGroupPropsMixin.MonetizationConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-