public static interface GeoMatchStatement.Builder extends SdkPojo, CopyableBuilder<GeoMatchStatement.Builder,GeoMatchStatement>
| Modifier and Type | Method and Description |
|---|---|
GeoMatchStatement.Builder |
countryCodes(Collection<CountryCode> 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. |
GeoMatchStatement.Builder |
countryCodes(CountryCode... 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. |
GeoMatchStatement.Builder |
countryCodesWithStrings(Collection<String> 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. |
GeoMatchStatement.Builder |
countryCodesWithStrings(String... 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. |
default GeoMatchStatement.Builder |
forwardedIPConfig(Consumer<ForwardedIPConfig.Builder> 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.
|
GeoMatchStatement.Builder |
forwardedIPConfig(ForwardedIPConfig 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.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildGeoMatchStatement.Builder countryCodesWithStrings(Collection<String> 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.
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.GeoMatchStatement.Builder countryCodesWithStrings(String... 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.
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.GeoMatchStatement.Builder countryCodes(Collection<CountryCode> 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.
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.GeoMatchStatement.Builder countryCodes(CountryCode... 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.
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.GeoMatchStatement.Builder forwardedIPConfig(ForwardedIPConfig 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.
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.
default GeoMatchStatement.Builder forwardedIPConfig(Consumer<ForwardedIPConfig.Builder> 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.
ForwardedIPConfig.Builder avoiding the
need to create one manually via ForwardedIPConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to forwardedIPConfig(ForwardedIPConfig).forwardedIPConfig - a consumer that will call methods on ForwardedIPConfig.BuilderforwardedIPConfig(ForwardedIPConfig)Copyright © 2021. All rights reserved.