@Stability(value=Stable) public static final class CfnWebACL.GeoMatchStatementProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnWebACL.GeoMatchStatementProperty>
CfnWebACL.GeoMatchStatementProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnWebACL.GeoMatchStatementProperty |
build()
Builds the configured instance.
|
CfnWebACL.GeoMatchStatementProperty.Builder |
countryCodes(List<String> countryCodes)
Sets the value of
CfnWebACL.GeoMatchStatementProperty.getCountryCodes() |
CfnWebACL.GeoMatchStatementProperty.Builder |
forwardedIpConfig(CfnWebACL.ForwardedIPConfigurationProperty forwardedIpConfig)
Sets the value of
CfnWebACL.GeoMatchStatementProperty.getForwardedIpConfig() |
CfnWebACL.GeoMatchStatementProperty.Builder |
forwardedIpConfig(IResolvable forwardedIpConfig)
Sets the value of
CfnWebACL.GeoMatchStatementProperty.getForwardedIpConfig() |
@Stability(value=Stable) public CfnWebACL.GeoMatchStatementProperty.Builder countryCodes(List<String> countryCodes)
CfnWebACL.GeoMatchStatementProperty.getCountryCodes()countryCodes - An array of two-character country codes, for example, `[ "US", "CN" ]` , from the alpha-2 country ISO codes of the ISO 3166 international standard.this@Stability(value=Stable) public CfnWebACL.GeoMatchStatementProperty.Builder forwardedIpConfig(CfnWebACL.ForwardedIPConfigurationProperty forwardedIpConfig)
CfnWebACL.GeoMatchStatementProperty.getForwardedIpConfig()forwardedIpConfig - The configuration for inspecting IP addresses in an HTTP header that you specify, instead of using the IP address that's reported by the web request origin.
Commonly, this is the X-Forwarded-For (XFF) header, but you can specify any header name.
If the specified header isn't present in the request, AWS WAF doesn't apply the rule to the web request at all.
this@Stability(value=Stable) public CfnWebACL.GeoMatchStatementProperty.Builder forwardedIpConfig(IResolvable forwardedIpConfig)
CfnWebACL.GeoMatchStatementProperty.getForwardedIpConfig()forwardedIpConfig - The configuration for inspecting IP addresses in an HTTP header that you specify, instead of using the IP address that's reported by the web request origin.
Commonly, this is the X-Forwarded-For (XFF) header, but you can specify any header name.
If the specified header isn't present in the request, AWS WAF doesn't apply the rule to the web request at all.
this@Stability(value=Stable) public CfnWebACL.GeoMatchStatementProperty build()
build in interface software.amazon.jsii.Builder<CfnWebACL.GeoMatchStatementProperty>CfnWebACL.GeoMatchStatementPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.