public static final class CfnWebACL.IPSetReferenceStatementProperty.Builder
extends java.lang.Object
CfnWebACL.IPSetReferenceStatementProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnWebACL.IPSetReferenceStatementProperty.Builder |
arn(java.lang.String arn)
Sets the value of
CfnWebACL.IPSetReferenceStatementProperty.getArn() |
CfnWebACL.IPSetReferenceStatementProperty |
build()
Builds the configured instance.
|
CfnWebACL.IPSetReferenceStatementProperty.Builder |
ipSetForwardedIpConfig(CfnWebACL.IPSetForwardedIPConfigurationProperty ipSetForwardedIpConfig)
Sets the value of
CfnWebACL.IPSetReferenceStatementProperty.getIpSetForwardedIpConfig() |
CfnWebACL.IPSetReferenceStatementProperty.Builder |
ipSetForwardedIpConfig(IResolvable ipSetForwardedIpConfig)
Sets the value of
CfnWebACL.IPSetReferenceStatementProperty.getIpSetForwardedIpConfig() |
public CfnWebACL.IPSetReferenceStatementProperty.Builder arn(java.lang.String arn)
CfnWebACL.IPSetReferenceStatementProperty.getArn()
arn
- The Amazon Resource Name (ARN) of the `IPSet` that this statement references. This parameter is required.this
public CfnWebACL.IPSetReferenceStatementProperty.Builder ipSetForwardedIpConfig(IResolvable ipSetForwardedIpConfig)
CfnWebACL.IPSetReferenceStatementProperty.getIpSetForwardedIpConfig()
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, AWS WAF doesn't apply the rule to the web request at all.
this
public CfnWebACL.IPSetReferenceStatementProperty.Builder ipSetForwardedIpConfig(CfnWebACL.IPSetForwardedIPConfigurationProperty ipSetForwardedIpConfig)
CfnWebACL.IPSetReferenceStatementProperty.getIpSetForwardedIpConfig()
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, AWS WAF doesn't apply the rule to the web request at all.
this
public CfnWebACL.IPSetReferenceStatementProperty build()
CfnWebACL.IPSetReferenceStatementProperty
java.lang.NullPointerException
- if any required attribute was not provided