Class CfnWebACL.PaymentNetworkProperty.Builder
java.lang.Object
software.amazon.awscdk.services.wafv2.CfnWebACL.PaymentNetworkProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWebACL.PaymentNetworkProperty>
- Enclosing interface:
CfnWebACL.PaymentNetworkProperty
@Stability(Stable)
public static final class CfnWebACL.PaymentNetworkProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWebACL.PaymentNetworkProperty>
A builder for
CfnWebACL.PaymentNetworkProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnWebACL.PaymentNetworkProperty.getChain()Sets the value ofCfnWebACL.PaymentNetworkProperty.getPrices()prices(IResolvable prices) Sets the value ofCfnWebACL.PaymentNetworkProperty.getPrices()walletAddress(String walletAddress) Sets the value ofCfnWebACL.PaymentNetworkProperty.getWalletAddress()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
chain
Sets the value ofCfnWebACL.PaymentNetworkProperty.getChain()- Parameters:
chain- The blockchain chain to use. This parameter is required.- Returns:
this
-
prices
Sets the value ofCfnWebACL.PaymentNetworkProperty.getPrices()- Parameters:
prices- List of price configurations. This parameter is required.- Returns:
this
-
prices
@Stability(Stable) public CfnWebACL.PaymentNetworkProperty.Builder prices(List<? extends Object> prices) Sets the value ofCfnWebACL.PaymentNetworkProperty.getPrices()- Parameters:
prices- List of price configurations. This parameter is required.- Returns:
this
-
walletAddress
@Stability(Stable) public CfnWebACL.PaymentNetworkProperty.Builder walletAddress(String walletAddress) Sets the value ofCfnWebACL.PaymentNetworkProperty.getWalletAddress()- Parameters:
walletAddress- The wallet address for receiving payments. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWebACL.PaymentNetworkProperty>- Returns:
- a new instance of
CfnWebACL.PaymentNetworkProperty - Throws:
NullPointerException- if any required attribute was not provided
-