Class CfnIPSetMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.wafregional.CfnIPSetMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIPSetMixinProps>
- Enclosing interface:
CfnIPSetMixinProps
@Stability(Stable)
public static final class CfnIPSetMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnIPSetMixinProps>
A builder for
CfnIPSetMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.ipSetDescriptors(List<? extends Object> ipSetDescriptors) Sets the value ofCfnIPSetMixinProps.getIpSetDescriptors()ipSetDescriptors(IResolvable ipSetDescriptors) Sets the value ofCfnIPSetMixinProps.getIpSetDescriptors()Sets the value ofCfnIPSetMixinProps.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
ipSetDescriptors
Sets the value ofCfnIPSetMixinProps.getIpSetDescriptors()- Parameters:
ipSetDescriptors- The IP address type (IPV4orIPV6) and the IP address range (in CIDR notation) that web requests originate from.- Returns:
this
-
ipSetDescriptors
@Stability(Stable) public CfnIPSetMixinProps.Builder ipSetDescriptors(List<? extends Object> ipSetDescriptors) Sets the value ofCfnIPSetMixinProps.getIpSetDescriptors()- Parameters:
ipSetDescriptors- The IP address type (IPV4orIPV6) and the IP address range (in CIDR notation) that web requests originate from.- Returns:
this
-
name
Sets the value ofCfnIPSetMixinProps.getName()- Parameters:
name- A friendly name or description of theIPSet. You can't change the name of anIPSetafter you create it.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnIPSetMixinProps>- Returns:
- a new instance of
CfnIPSetMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-