public static interface IPSetReferenceStatement.Builder extends SdkPojo, CopyableBuilder<IPSetReferenceStatement.Builder,IPSetReferenceStatement>
| Modifier and Type | Method and Description |
|---|---|
IPSetReferenceStatement.Builder |
arn(String arn)
The Amazon Resource Name (ARN) of the IPSet that this statement references.
|
default IPSetReferenceStatement.Builder |
ipSetForwardedIPConfig(Consumer<IPSetForwardedIPConfig.Builder> ipSetForwardedIPConfig)
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.
|
IPSetReferenceStatement.Builder |
ipSetForwardedIPConfig(IPSetForwardedIPConfig ipSetForwardedIPConfig)
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, buildIPSetReferenceStatement.Builder arn(String arn)
The Amazon Resource Name (ARN) of the IPSet that this statement references.
arn - The Amazon Resource Name (ARN) of the IPSet that this statement references.IPSetReferenceStatement.Builder ipSetForwardedIPConfig(IPSetForwardedIPConfig ipSetForwardedIPConfig)
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, WAF doesn't apply the rule to the web request at all.
ipSetForwardedIPConfig - 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, WAF doesn't apply the rule to the web request at all.
default IPSetReferenceStatement.Builder ipSetForwardedIPConfig(Consumer<IPSetForwardedIPConfig.Builder> ipSetForwardedIPConfig)
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, WAF doesn't apply the rule to the web request at all.
IPSetForwardedIPConfig.Builder
avoiding the need to create one manually via IPSetForwardedIPConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to ipSetForwardedIPConfig(IPSetForwardedIPConfig).
ipSetForwardedIPConfig - a consumer that will call methods on IPSetForwardedIPConfig.BuilderipSetForwardedIPConfig(IPSetForwardedIPConfig)Copyright © 2023. All rights reserved.