public static final class CfnIPSet.IPSetDescriptorProperty.Builder
extends java.lang.Object
CfnIPSet.IPSetDescriptorProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnIPSet.IPSetDescriptorProperty |
build()
Builds the configured instance.
|
CfnIPSet.IPSetDescriptorProperty.Builder |
type(java.lang.String type)
Sets the value of
CfnIPSet.IPSetDescriptorProperty.getType() |
CfnIPSet.IPSetDescriptorProperty.Builder |
value(java.lang.String value)
Sets the value of
CfnIPSet.IPSetDescriptorProperty.getValue() |
public CfnIPSet.IPSetDescriptorProperty.Builder type(java.lang.String type)
CfnIPSet.IPSetDescriptorProperty.getType()
type
- Specify `IPV4` or `IPV6` . This parameter is required.this
public CfnIPSet.IPSetDescriptorProperty.Builder value(java.lang.String value)
CfnIPSet.IPSetDescriptorProperty.getValue()
value
- Specify an IPv4 address by using CIDR notation. For example:. This parameter is required.
192.0.2.44/32
.192.0.2.0/24
.For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing .
Specify an IPv6 address by using CIDR notation. For example:
1111:0000:0000:0000:0000:0000:0000:0111/128
.1111:0000:0000:0000:0000:0000:0000:0000/64
.this
public CfnIPSet.IPSetDescriptorProperty build()
CfnIPSet.IPSetDescriptorProperty
java.lang.NullPointerException
- if any required attribute was not provided