Class CfnIPSet.Builder
java.lang.Object
software.amazon.awscdk.services.waf.regional.CfnIPSet.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIPSet>
- Enclosing class:
- CfnIPSet
@Stability(Stable)
public static final class CfnIPSet.Builder
extends Object
implements software.amazon.jsii.Builder<CfnIPSet>
A fluent builder for
CfnIPSet.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnIPSet.BuilderipSetDescriptors(List<? extends Object> ipSetDescriptors) The IP address type (IPV4orIPV6) and the IP address range (in CIDR notation) that web requests originate from.ipSetDescriptors(IResolvable ipSetDescriptors) The IP address type (IPV4orIPV6) and the IP address range (in CIDR notation) that web requests originate from.A friendly name or description of theIPSet.
-
Method Details
-
create
- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
- Returns:
- a new instance of
CfnIPSet.Builder.
-
name
A friendly name or description of theIPSet.You can't change the name of an
IPSetafter you create it.- Parameters:
name- A friendly name or description of theIPSet. This parameter is required.- Returns:
this
-
ipSetDescriptors
The IP address type (IPV4orIPV6) and the IP address range (in CIDR notation) that web requests originate from.- Parameters:
ipSetDescriptors- The IP address type (IPV4orIPV6) and the IP address range (in CIDR notation) that web requests originate from. This parameter is required.- Returns:
this
-
ipSetDescriptors
@Stability(Stable) public CfnIPSet.Builder ipSetDescriptors(List<? extends Object> ipSetDescriptors) The IP address type (IPV4orIPV6) and the IP address range (in CIDR notation) that web requests originate from.- Parameters:
ipSetDescriptors- The IP address type (IPV4orIPV6) and the IP address range (in CIDR notation) that web requests originate from. This parameter is required.- Returns:
this
-
build
-