Package com.pulumi.aws.wafv2.inputs
Class RuleGroupRuleStatementGeoMatchStatementArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.wafv2.inputs.RuleGroupRuleStatementGeoMatchStatementArgs.Builder
-
- Enclosing class:
- RuleGroupRuleStatementGeoMatchStatementArgs
public static final class RuleGroupRuleStatementGeoMatchStatementArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(RuleGroupRuleStatementGeoMatchStatementArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RuleGroupRuleStatementGeoMatchStatementArgsbuild()RuleGroupRuleStatementGeoMatchStatementArgs.BuildercountryCodes(com.pulumi.core.Output<java.util.List<java.lang.String>> countryCodes)RuleGroupRuleStatementGeoMatchStatementArgs.BuildercountryCodes(java.lang.String... countryCodes)RuleGroupRuleStatementGeoMatchStatementArgs.BuildercountryCodes(java.util.List<java.lang.String> countryCodes)RuleGroupRuleStatementGeoMatchStatementArgs.BuilderforwardedIpConfig(RuleGroupRuleStatementGeoMatchStatementForwardedIpConfigArgs forwardedIpConfig)RuleGroupRuleStatementGeoMatchStatementArgs.BuilderforwardedIpConfig(com.pulumi.core.Output<RuleGroupRuleStatementGeoMatchStatementForwardedIpConfigArgs> forwardedIpConfig)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(RuleGroupRuleStatementGeoMatchStatementArgs defaults)
-
-
Method Detail
-
countryCodes
public RuleGroupRuleStatementGeoMatchStatementArgs.Builder countryCodes(com.pulumi.core.Output<java.util.List<java.lang.String>> countryCodes)
- Parameters:
countryCodes- Array of two-character country codes, for example, [ "US", "CN" ], from the alpha-2 country ISO codes of the `ISO 3166` international standard. See the [documentation](https://docs.aws.amazon.com/waf/latest/APIReference/API_GeoMatchStatement.html) for valid values.- Returns:
- builder
-
countryCodes
public RuleGroupRuleStatementGeoMatchStatementArgs.Builder countryCodes(java.util.List<java.lang.String> countryCodes)
- Parameters:
countryCodes- Array of two-character country codes, for example, [ "US", "CN" ], from the alpha-2 country ISO codes of the `ISO 3166` international standard. See the [documentation](https://docs.aws.amazon.com/waf/latest/APIReference/API_GeoMatchStatement.html) for valid values.- Returns:
- builder
-
countryCodes
public RuleGroupRuleStatementGeoMatchStatementArgs.Builder countryCodes(java.lang.String... countryCodes)
- Parameters:
countryCodes- Array of two-character country codes, for example, [ "US", "CN" ], from the alpha-2 country ISO codes of the `ISO 3166` international standard. See the [documentation](https://docs.aws.amazon.com/waf/latest/APIReference/API_GeoMatchStatement.html) for valid values.- Returns:
- builder
-
forwardedIpConfig
public RuleGroupRuleStatementGeoMatchStatementArgs.Builder forwardedIpConfig(@Nullable com.pulumi.core.Output<RuleGroupRuleStatementGeoMatchStatementForwardedIpConfigArgs> forwardedIpConfig)
- Parameters:
forwardedIpConfig- 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. See Forwarded IP Config below for details.- Returns:
- builder
-
forwardedIpConfig
public RuleGroupRuleStatementGeoMatchStatementArgs.Builder forwardedIpConfig(RuleGroupRuleStatementGeoMatchStatementForwardedIpConfigArgs forwardedIpConfig)
- Parameters:
forwardedIpConfig- 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. See Forwarded IP Config below for details.- Returns:
- builder
-
build
public RuleGroupRuleStatementGeoMatchStatementArgs build()
-
-