Class CfnWebACLPropsMixin.IPSetReferenceStatementProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.wafv2.mixins.CfnWebACLPropsMixin.IPSetReferenceStatementProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWebACLPropsMixin.IPSetReferenceStatementProperty>
- Enclosing interface:
CfnWebACLPropsMixin.IPSetReferenceStatementProperty
@Stability(Stable)
public static final class CfnWebACLPropsMixin.IPSetReferenceStatementProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWebACLPropsMixin.IPSetReferenceStatementProperty>
A builder for
CfnWebACLPropsMixin.IPSetReferenceStatementProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnWebACLPropsMixin.IPSetReferenceStatementProperty.getArn()build()Builds the configured instance.ipSetForwardedIpConfig(IResolvable ipSetForwardedIpConfig) ipSetForwardedIpConfig(CfnWebACLPropsMixin.IPSetForwardedIPConfigurationProperty ipSetForwardedIpConfig)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
arn
@Stability(Stable) public CfnWebACLPropsMixin.IPSetReferenceStatementProperty.Builder arn(String arn) Sets the value ofCfnWebACLPropsMixin.IPSetReferenceStatementProperty.getArn()- Parameters:
arn- The Amazon Resource Name (ARN) of theIPSetthat this statement references.- Returns:
this
-
ipSetForwardedIpConfig
@Stability(Stable) public CfnWebACLPropsMixin.IPSetReferenceStatementProperty.Builder ipSetForwardedIpConfig(IResolvable ipSetForwardedIpConfig) - Parameters:
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.
- Returns:
this
-
ipSetForwardedIpConfig
@Stability(Stable) public CfnWebACLPropsMixin.IPSetReferenceStatementProperty.Builder ipSetForwardedIpConfig(CfnWebACLPropsMixin.IPSetForwardedIPConfigurationProperty ipSetForwardedIpConfig) - Parameters:
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.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWebACLPropsMixin.IPSetReferenceStatementProperty>- Returns:
- a new instance of
CfnWebACLPropsMixin.IPSetReferenceStatementProperty - Throws:
NullPointerException- if any required attribute was not provided
-