Class CfnIPSetMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.waf.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. If theWebACLis 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.- 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. If theWebACLis 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.- Returns:
this
-
name
Sets the value ofCfnIPSetMixinProps.getName()- Parameters:
name- The name 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
-