public static final class CfnListenerRule.SourceIpConfigProperty.Builder
extends java.lang.Object
CfnListenerRule.SourceIpConfigProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnListenerRule.SourceIpConfigProperty |
build()
Builds the configured instance.
|
CfnListenerRule.SourceIpConfigProperty.Builder |
values(java.util.List<java.lang.String> values)
Sets the value of
CfnListenerRule.SourceIpConfigProperty.getValues() |
public CfnListenerRule.SourceIpConfigProperty.Builder values(java.util.List<java.lang.String> values)
CfnListenerRule.SourceIpConfigProperty.getValues()
values
- The source IP addresses, in CIDR format. You can use both IPv4 and IPv6 addresses. Wildcards are not supported.
If you specify multiple addresses, the condition is satisfied if the source IP address of the request matches one of the CIDR blocks. This condition is not satisfied by the addresses in the X-Forwarded-For header.this
public CfnListenerRule.SourceIpConfigProperty build()
CfnListenerRule.SourceIpConfigProperty
java.lang.NullPointerException
- if any required attribute was not provided