Class CfnIPSet.Builder
java.lang.Object
software.amazon.awscdk.services.waf.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 SummaryModifier 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.The name of theIPSet.
- 
Method Details- 
create@Stability(Stable) public static CfnIPSet.Builder create(software.constructs.Construct scope, String id) - Parameters:
- scope- Scope in which this resource is defined. This parameter is required.
- id- Construct identifier for this resource (unique in its scope). This parameter is required.
- Returns:
- a new instance of CfnIPSet.Builder.
 
- 
nameThe name of theIPSet.You can't change the name of an IPSetafter you create it.- Parameters:
- name- The name of the- IPSet. This parameter is required.
- Returns:
- this
- See Also:
 
- 
ipSetDescriptorsThe IP address type (IPV4orIPV6) and the IP address range (in CIDR notation) that web requests originate from.If the WebACLis associated with an Amazon CloudFront distribution and the viewer did not use an HTTP proxy or a load balancer to send the request, this is the value of the c-ip field in the CloudFront access logs.- Parameters:
- ipSetDescriptors- The IP address type (- IPV4or- IPV6) and the IP address range (in CIDR notation) that web requests originate from. This parameter is required.
- Returns:
- this
- See Also:
 
- 
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.If the WebACLis associated with an Amazon CloudFront distribution and the viewer did not use an HTTP proxy or a load balancer to send the request, this is the value of the c-ip field in the CloudFront access logs.- Parameters:
- ipSetDescriptors- The IP address type (- IPV4or- IPV6) and the IP address range (in CIDR notation) that web requests originate from. This parameter is required.
- Returns:
- this
- See Also:
 
- 
build
 
-