public static final class CfnIPSetProps.Builder
extends java.lang.Object
CfnIPSetProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnIPSetProps |
build()
Builds the configured instance.
|
CfnIPSetProps.Builder |
ipSetDescriptors(IResolvable ipSetDescriptors)
Sets the value of
CfnIPSetProps.getIpSetDescriptors() |
CfnIPSetProps.Builder |
ipSetDescriptors(java.util.List<? extends java.lang.Object> ipSetDescriptors)
Sets the value of
CfnIPSetProps.getIpSetDescriptors() |
CfnIPSetProps.Builder |
name(java.lang.String name)
Sets the value of
CfnIPSetProps.getName() |
public CfnIPSetProps.Builder name(java.lang.String name)
CfnIPSetProps.getName()
name
- A friendly name or description of the `IPSet` . This parameter is required.
You can't change the name of an IPSet
after you create it.this
public CfnIPSetProps.Builder ipSetDescriptors(IResolvable ipSetDescriptors)
CfnIPSetProps.getIpSetDescriptors()
ipSetDescriptors
- The IP address type ( `IPV4` or `IPV6` ) and the IP address range (in CIDR notation) that web requests originate from.this
public CfnIPSetProps.Builder ipSetDescriptors(java.util.List<? extends java.lang.Object> ipSetDescriptors)
CfnIPSetProps.getIpSetDescriptors()
ipSetDescriptors
- The IP address type ( `IPV4` or `IPV6` ) and the IP address range (in CIDR notation) that web requests originate from.this
public CfnIPSetProps build()
CfnIPSetProps
java.lang.NullPointerException
- if any required attribute was not provided