Package com.pulumi.aws.wafv2.inputs
Class RuleGroupRuleStatementArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.wafv2.inputs.RuleGroupRuleStatementArgs.Builder
-
- Enclosing class:
- RuleGroupRuleStatementArgs
public static final class RuleGroupRuleStatementArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(RuleGroupRuleStatementArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(RuleGroupRuleStatementArgs defaults)
-
-
Method Detail
-
andStatement
public RuleGroupRuleStatementArgs.Builder andStatement(@Nullable com.pulumi.core.Output<RuleGroupRuleStatementAndStatementArgs> andStatement)
- Parameters:
andStatement
- A logical rule statement used to combine other rule statements with AND logic. See AND Statement below for details.- Returns:
- builder
-
andStatement
public RuleGroupRuleStatementArgs.Builder andStatement(RuleGroupRuleStatementAndStatementArgs andStatement)
- Parameters:
andStatement
- A logical rule statement used to combine other rule statements with AND logic. See AND Statement below for details.- Returns:
- builder
-
byteMatchStatement
public RuleGroupRuleStatementArgs.Builder byteMatchStatement(@Nullable com.pulumi.core.Output<RuleGroupRuleStatementByteMatchStatementArgs> byteMatchStatement)
- Parameters:
byteMatchStatement
- A rule statement that defines a string match search for AWS WAF to apply to web requests. See Byte Match Statement below for details.- Returns:
- builder
-
byteMatchStatement
public RuleGroupRuleStatementArgs.Builder byteMatchStatement(RuleGroupRuleStatementByteMatchStatementArgs byteMatchStatement)
- Parameters:
byteMatchStatement
- A rule statement that defines a string match search for AWS WAF to apply to web requests. See Byte Match Statement below for details.- Returns:
- builder
-
geoMatchStatement
public RuleGroupRuleStatementArgs.Builder geoMatchStatement(@Nullable com.pulumi.core.Output<RuleGroupRuleStatementGeoMatchStatementArgs> geoMatchStatement)
- Parameters:
geoMatchStatement
- A rule statement used to identify web requests based on country of origin. See GEO Match Statement below for details.- Returns:
- builder
-
geoMatchStatement
public RuleGroupRuleStatementArgs.Builder geoMatchStatement(RuleGroupRuleStatementGeoMatchStatementArgs geoMatchStatement)
- Parameters:
geoMatchStatement
- A rule statement used to identify web requests based on country of origin. See GEO Match Statement below for details.- Returns:
- builder
-
ipSetReferenceStatement
public RuleGroupRuleStatementArgs.Builder ipSetReferenceStatement(@Nullable com.pulumi.core.Output<RuleGroupRuleStatementIpSetReferenceStatementArgs> ipSetReferenceStatement)
- Parameters:
ipSetReferenceStatement
- A rule statement used to detect web requests coming from particular IP addresses or address ranges. See IP Set Reference Statement below for details.- Returns:
- builder
-
ipSetReferenceStatement
public RuleGroupRuleStatementArgs.Builder ipSetReferenceStatement(RuleGroupRuleStatementIpSetReferenceStatementArgs ipSetReferenceStatement)
- Parameters:
ipSetReferenceStatement
- A rule statement used to detect web requests coming from particular IP addresses or address ranges. See IP Set Reference Statement below for details.- Returns:
- builder
-
labelMatchStatement
public RuleGroupRuleStatementArgs.Builder labelMatchStatement(@Nullable com.pulumi.core.Output<RuleGroupRuleStatementLabelMatchStatementArgs> labelMatchStatement)
- Parameters:
labelMatchStatement
- A rule statement that defines a string match search against labels that have been added to the web request by rules that have already run in the web ACL. See Label Match Statement below for details.- Returns:
- builder
-
labelMatchStatement
public RuleGroupRuleStatementArgs.Builder labelMatchStatement(RuleGroupRuleStatementLabelMatchStatementArgs labelMatchStatement)
- Parameters:
labelMatchStatement
- A rule statement that defines a string match search against labels that have been added to the web request by rules that have already run in the web ACL. See Label Match Statement below for details.- Returns:
- builder
-
notStatement
public RuleGroupRuleStatementArgs.Builder notStatement(@Nullable com.pulumi.core.Output<RuleGroupRuleStatementNotStatementArgs> notStatement)
- Parameters:
notStatement
- A logical rule statement used to negate the results of another rule statement. See NOT Statement below for details.- Returns:
- builder
-
notStatement
public RuleGroupRuleStatementArgs.Builder notStatement(RuleGroupRuleStatementNotStatementArgs notStatement)
- Parameters:
notStatement
- A logical rule statement used to negate the results of another rule statement. See NOT Statement below for details.- Returns:
- builder
-
orStatement
public RuleGroupRuleStatementArgs.Builder orStatement(@Nullable com.pulumi.core.Output<RuleGroupRuleStatementOrStatementArgs> orStatement)
- Parameters:
orStatement
- A logical rule statement used to combine other rule statements with OR logic. See OR Statement below for details.- Returns:
- builder
-
orStatement
public RuleGroupRuleStatementArgs.Builder orStatement(RuleGroupRuleStatementOrStatementArgs orStatement)
- Parameters:
orStatement
- A logical rule statement used to combine other rule statements with OR logic. See OR Statement below for details.- Returns:
- builder
-
rateBasedStatement
public RuleGroupRuleStatementArgs.Builder rateBasedStatement(@Nullable com.pulumi.core.Output<RuleGroupRuleStatementRateBasedStatementArgs> rateBasedStatement)
- Parameters:
rateBasedStatement
- A rate-based rule tracks the rate of requests for each originating `IP address`, and triggers the rule action when the rate exceeds a limit that you specify on the number of requests in any `5-minute` time span. This statement can not be nested. See Rate Based Statement below for details.- Returns:
- builder
-
rateBasedStatement
public RuleGroupRuleStatementArgs.Builder rateBasedStatement(RuleGroupRuleStatementRateBasedStatementArgs rateBasedStatement)
- Parameters:
rateBasedStatement
- A rate-based rule tracks the rate of requests for each originating `IP address`, and triggers the rule action when the rate exceeds a limit that you specify on the number of requests in any `5-minute` time span. This statement can not be nested. See Rate Based Statement below for details.- Returns:
- builder
-
regexMatchStatement
public RuleGroupRuleStatementArgs.Builder regexMatchStatement(@Nullable com.pulumi.core.Output<RuleGroupRuleStatementRegexMatchStatementArgs> regexMatchStatement)
- Parameters:
regexMatchStatement
- A rule statement used to search web request components for a match against a single regular expression. See Regex Match Statement below for details.- Returns:
- builder
-
regexMatchStatement
public RuleGroupRuleStatementArgs.Builder regexMatchStatement(RuleGroupRuleStatementRegexMatchStatementArgs regexMatchStatement)
- Parameters:
regexMatchStatement
- A rule statement used to search web request components for a match against a single regular expression. See Regex Match Statement below for details.- Returns:
- builder
-
regexPatternSetReferenceStatement
public RuleGroupRuleStatementArgs.Builder regexPatternSetReferenceStatement(@Nullable com.pulumi.core.Output<RuleGroupRuleStatementRegexPatternSetReferenceStatementArgs> regexPatternSetReferenceStatement)
- Parameters:
regexPatternSetReferenceStatement
- A rule statement used to search web request components for matches with regular expressions. See Regex Pattern Set Reference Statement below for details.- Returns:
- builder
-
regexPatternSetReferenceStatement
public RuleGroupRuleStatementArgs.Builder regexPatternSetReferenceStatement(RuleGroupRuleStatementRegexPatternSetReferenceStatementArgs regexPatternSetReferenceStatement)
- Parameters:
regexPatternSetReferenceStatement
- A rule statement used to search web request components for matches with regular expressions. See Regex Pattern Set Reference Statement below for details.- Returns:
- builder
-
sizeConstraintStatement
public RuleGroupRuleStatementArgs.Builder sizeConstraintStatement(@Nullable com.pulumi.core.Output<RuleGroupRuleStatementSizeConstraintStatementArgs> sizeConstraintStatement)
- Parameters:
sizeConstraintStatement
- A rule statement that compares a number of bytes against the size of a request component, using a comparison operator, such as greater than (>) or less than (<). See Size Constraint Statement below for more details.- Returns:
- builder
-
sizeConstraintStatement
public RuleGroupRuleStatementArgs.Builder sizeConstraintStatement(RuleGroupRuleStatementSizeConstraintStatementArgs sizeConstraintStatement)
- Parameters:
sizeConstraintStatement
- A rule statement that compares a number of bytes against the size of a request component, using a comparison operator, such as greater than (>) or less than (<). See Size Constraint Statement below for more details.- Returns:
- builder
-
sqliMatchStatement
public RuleGroupRuleStatementArgs.Builder sqliMatchStatement(@Nullable com.pulumi.core.Output<RuleGroupRuleStatementSqliMatchStatementArgs> sqliMatchStatement)
- Parameters:
sqliMatchStatement
- An SQL injection match condition identifies the part of web requests, such as the URI or the query string, that you want AWS WAF to inspect. See SQL Injection Match Statement below for details.- Returns:
- builder
-
sqliMatchStatement
public RuleGroupRuleStatementArgs.Builder sqliMatchStatement(RuleGroupRuleStatementSqliMatchStatementArgs sqliMatchStatement)
- Parameters:
sqliMatchStatement
- An SQL injection match condition identifies the part of web requests, such as the URI or the query string, that you want AWS WAF to inspect. See SQL Injection Match Statement below for details.- Returns:
- builder
-
xssMatchStatement
public RuleGroupRuleStatementArgs.Builder xssMatchStatement(@Nullable com.pulumi.core.Output<RuleGroupRuleStatementXssMatchStatementArgs> xssMatchStatement)
- Parameters:
xssMatchStatement
- A rule statement that defines a cross-site scripting (XSS) match search for AWS WAF to apply to web requests. See XSS Match Statement below for details.- Returns:
- builder
-
xssMatchStatement
public RuleGroupRuleStatementArgs.Builder xssMatchStatement(RuleGroupRuleStatementXssMatchStatementArgs xssMatchStatement)
- Parameters:
xssMatchStatement
- A rule statement that defines a cross-site scripting (XSS) match search for AWS WAF to apply to web requests. See XSS Match Statement below for details.- Returns:
- builder
-
build
public RuleGroupRuleStatementArgs build()
-
-