public static interface Statement.Builder extends SdkPojo, CopyableBuilder<Statement.Builder,Statement>
| Modifier and Type | Method and Description |
|---|---|
Statement.Builder |
andStatement(AndStatement andStatement)
A logical rule statement used to combine other rule statements with AND logic.
|
default Statement.Builder |
andStatement(Consumer<AndStatement.Builder> andStatement)
A logical rule statement used to combine other rule statements with AND logic.
|
Statement.Builder |
byteMatchStatement(ByteMatchStatement byteMatchStatement)
A rule statement that defines a string match search for AWS WAF to apply to web requests.
|
default Statement.Builder |
byteMatchStatement(Consumer<ByteMatchStatement.Builder> byteMatchStatement)
A rule statement that defines a string match search for AWS WAF to apply to web requests.
|
default Statement.Builder |
geoMatchStatement(Consumer<GeoMatchStatement.Builder> geoMatchStatement)
A rule statement used to identify web requests based on country of origin.
|
Statement.Builder |
geoMatchStatement(GeoMatchStatement geoMatchStatement)
A rule statement used to identify web requests based on country of origin.
|
default Statement.Builder |
ipSetReferenceStatement(Consumer<IPSetReferenceStatement.Builder> ipSetReferenceStatement)
A rule statement used to detect web requests coming from particular IP addresses or address ranges.
|
Statement.Builder |
ipSetReferenceStatement(IPSetReferenceStatement ipSetReferenceStatement)
A rule statement used to detect web requests coming from particular IP addresses or address ranges.
|
default Statement.Builder |
labelMatchStatement(Consumer<LabelMatchStatement.Builder> 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.
|
Statement.Builder |
labelMatchStatement(LabelMatchStatement 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.
|
default Statement.Builder |
managedRuleGroupStatement(Consumer<ManagedRuleGroupStatement.Builder> managedRuleGroupStatement)
A rule statement used to run the rules that are defined in a managed rule group.
|
Statement.Builder |
managedRuleGroupStatement(ManagedRuleGroupStatement managedRuleGroupStatement)
A rule statement used to run the rules that are defined in a managed rule group.
|
default Statement.Builder |
notStatement(Consumer<NotStatement.Builder> notStatement)
A logical rule statement used to negate the results of another rule statement.
|
Statement.Builder |
notStatement(NotStatement notStatement)
A logical rule statement used to negate the results of another rule statement.
|
default Statement.Builder |
orStatement(Consumer<OrStatement.Builder> orStatement)
A logical rule statement used to combine other rule statements with OR logic.
|
Statement.Builder |
orStatement(OrStatement orStatement)
A logical rule statement used to combine other rule statements with OR logic.
|
default Statement.Builder |
rateBasedStatement(Consumer<RateBasedStatement.Builder> 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.
|
Statement.Builder |
rateBasedStatement(RateBasedStatement 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.
|
default Statement.Builder |
regexPatternSetReferenceStatement(Consumer<RegexPatternSetReferenceStatement.Builder> regexPatternSetReferenceStatement)
A rule statement used to search web request components for matches with regular expressions.
|
Statement.Builder |
regexPatternSetReferenceStatement(RegexPatternSetReferenceStatement regexPatternSetReferenceStatement)
A rule statement used to search web request components for matches with regular expressions.
|
default Statement.Builder |
ruleGroupReferenceStatement(Consumer<RuleGroupReferenceStatement.Builder> ruleGroupReferenceStatement)
A rule statement used to run the rules that are defined in a RuleGroup.
|
Statement.Builder |
ruleGroupReferenceStatement(RuleGroupReferenceStatement ruleGroupReferenceStatement)
A rule statement used to run the rules that are defined in a RuleGroup.
|
default Statement.Builder |
sizeConstraintStatement(Consumer<SizeConstraintStatement.Builder> 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 (<).
|
Statement.Builder |
sizeConstraintStatement(SizeConstraintStatement 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 (<).
|
default Statement.Builder |
sqliMatchStatement(Consumer<SqliMatchStatement.Builder> sqliMatchStatement)
Attackers sometimes insert malicious SQL code into web requests in an effort to extract data from your
database.
|
Statement.Builder |
sqliMatchStatement(SqliMatchStatement sqliMatchStatement)
Attackers sometimes insert malicious SQL code into web requests in an effort to extract data from your
database.
|
default Statement.Builder |
xssMatchStatement(Consumer<XssMatchStatement.Builder> xssMatchStatement)
A rule statement that defines a cross-site scripting (XSS) match search for AWS WAF to apply to web requests.
|
Statement.Builder |
xssMatchStatement(XssMatchStatement xssMatchStatement)
A rule statement that defines a cross-site scripting (XSS) match search for AWS WAF to apply to web requests.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildStatement.Builder byteMatchStatement(ByteMatchStatement byteMatchStatement)
A rule statement that defines a string match search for AWS WAF to apply to web requests. The byte match statement provides the bytes to search for, the location in requests that you want AWS WAF to search, and other settings. The bytes to search for are typically a string that corresponds with ASCII characters. In the AWS WAF console and the developer guide, this is refered to as a string match statement.
byteMatchStatement - A rule statement that defines a string match search for AWS WAF to apply to web requests. The byte
match statement provides the bytes to search for, the location in requests that you want AWS WAF to
search, and other settings. The bytes to search for are typically a string that corresponds with ASCII
characters. In the AWS WAF console and the developer guide, this is refered to as a string match
statement.default Statement.Builder byteMatchStatement(Consumer<ByteMatchStatement.Builder> byteMatchStatement)
A rule statement that defines a string match search for AWS WAF to apply to web requests. The byte match statement provides the bytes to search for, the location in requests that you want AWS WAF to search, and other settings. The bytes to search for are typically a string that corresponds with ASCII characters. In the AWS WAF console and the developer guide, this is refered to as a string match statement.
This is a convenience that creates an instance of theByteMatchStatement.Builder avoiding the need to
create one manually via ByteMatchStatement.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to byteMatchStatement(ByteMatchStatement).byteMatchStatement - a consumer that will call methods on ByteMatchStatement.BuilderbyteMatchStatement(ByteMatchStatement)Statement.Builder sqliMatchStatement(SqliMatchStatement sqliMatchStatement)
Attackers sometimes insert malicious SQL code into web requests in an effort to extract data from your database. To allow or block web requests that appear to contain malicious SQL code, create one or more SQL injection match conditions. 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. Later in the process, when you create a web ACL, you specify whether to allow or block requests that appear to contain malicious SQL code.
sqliMatchStatement - Attackers sometimes insert malicious SQL code into web requests in an effort to extract data from your
database. To allow or block web requests that appear to contain malicious SQL code, create one or more
SQL injection match conditions. 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. Later in the process, when you
create a web ACL, you specify whether to allow or block requests that appear to contain malicious SQL
code.default Statement.Builder sqliMatchStatement(Consumer<SqliMatchStatement.Builder> sqliMatchStatement)
Attackers sometimes insert malicious SQL code into web requests in an effort to extract data from your database. To allow or block web requests that appear to contain malicious SQL code, create one or more SQL injection match conditions. 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. Later in the process, when you create a web ACL, you specify whether to allow or block requests that appear to contain malicious SQL code.
This is a convenience that creates an instance of theSqliMatchStatement.Builder avoiding the need to
create one manually via SqliMatchStatement.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to sqliMatchStatement(SqliMatchStatement).sqliMatchStatement - a consumer that will call methods on SqliMatchStatement.BuildersqliMatchStatement(SqliMatchStatement)Statement.Builder xssMatchStatement(XssMatchStatement xssMatchStatement)
A rule statement that defines a cross-site scripting (XSS) match search for AWS WAF to apply to web requests. XSS attacks are those where the attacker uses vulnerabilities in a benign website as a vehicle to inject malicious client-site scripts into other legitimate web browsers. The XSS match statement provides the location in requests that you want AWS WAF to search and text transformations to use on the search area before AWS WAF searches for character sequences that are likely to be malicious strings.
xssMatchStatement - A rule statement that defines a cross-site scripting (XSS) match search for AWS WAF to apply to web
requests. XSS attacks are those where the attacker uses vulnerabilities in a benign website as a
vehicle to inject malicious client-site scripts into other legitimate web browsers. The XSS match
statement provides the location in requests that you want AWS WAF to search and text transformations
to use on the search area before AWS WAF searches for character sequences that are likely to be
malicious strings.default Statement.Builder xssMatchStatement(Consumer<XssMatchStatement.Builder> xssMatchStatement)
A rule statement that defines a cross-site scripting (XSS) match search for AWS WAF to apply to web requests. XSS attacks are those where the attacker uses vulnerabilities in a benign website as a vehicle to inject malicious client-site scripts into other legitimate web browsers. The XSS match statement provides the location in requests that you want AWS WAF to search and text transformations to use on the search area before AWS WAF searches for character sequences that are likely to be malicious strings.
This is a convenience that creates an instance of theXssMatchStatement.Builder avoiding the need to
create one manually via XssMatchStatement.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to xssMatchStatement(XssMatchStatement).xssMatchStatement - a consumer that will call methods on XssMatchStatement.BuilderxssMatchStatement(XssMatchStatement)Statement.Builder sizeConstraintStatement(SizeConstraintStatement 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 (<). For example, you can use a size constraint statement to look for query strings that are longer than 100 bytes.
If you configure AWS WAF to inspect the request body, AWS WAF inspects only the first 8192 bytes (8 KB). If the request body for your web requests never exceeds 8192 bytes, you can create a size constraint condition and block requests that have a request body greater than 8192 bytes.
If you choose URI for the value of Part of the request to filter on, the slash (/) in the URI counts as one
character. For example, the URI /logo.jpg is nine characters long.
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 (<). For example, you can use a size
constraint statement to look for query strings that are longer than 100 bytes.
If you configure AWS WAF to inspect the request body, AWS WAF inspects only the first 8192 bytes (8 KB). If the request body for your web requests never exceeds 8192 bytes, you can create a size constraint condition and block requests that have a request body greater than 8192 bytes.
If you choose URI for the value of Part of the request to filter on, the slash (/) in the URI counts
as one character. For example, the URI /logo.jpg is nine characters long.
default Statement.Builder sizeConstraintStatement(Consumer<SizeConstraintStatement.Builder> 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 (<). For example, you can use a size constraint statement to look for query strings that are longer than 100 bytes.
If you configure AWS WAF to inspect the request body, AWS WAF inspects only the first 8192 bytes (8 KB). If the request body for your web requests never exceeds 8192 bytes, you can create a size constraint condition and block requests that have a request body greater than 8192 bytes.
If you choose URI for the value of Part of the request to filter on, the slash (/) in the URI counts as one
character. For example, the URI /logo.jpg is nine characters long.
SizeConstraintStatement.Builder avoiding the
need to create one manually via SizeConstraintStatement.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to sizeConstraintStatement(SizeConstraintStatement).sizeConstraintStatement - a consumer that will call methods on SizeConstraintStatement.BuildersizeConstraintStatement(SizeConstraintStatement)Statement.Builder geoMatchStatement(GeoMatchStatement geoMatchStatement)
A rule statement used to identify web requests based on country of origin.
geoMatchStatement - A rule statement used to identify web requests based on country of origin.default Statement.Builder geoMatchStatement(Consumer<GeoMatchStatement.Builder> geoMatchStatement)
A rule statement used to identify web requests based on country of origin.
This is a convenience that creates an instance of theGeoMatchStatement.Builder avoiding the need to
create one manually via GeoMatchStatement.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to geoMatchStatement(GeoMatchStatement).geoMatchStatement - a consumer that will call methods on GeoMatchStatement.BuildergeoMatchStatement(GeoMatchStatement)Statement.Builder ruleGroupReferenceStatement(RuleGroupReferenceStatement ruleGroupReferenceStatement)
A rule statement used to run the rules that are defined in a RuleGroup. To use this, create a rule group with your rules, then provide the ARN of the rule group in this statement.
You cannot nest a RuleGroupReferenceStatement, for example for use inside a
NotStatement or OrStatement. It can only be referenced as a top-level statement
within a rule.
ruleGroupReferenceStatement - A rule statement used to run the rules that are defined in a RuleGroup. To use this, create a
rule group with your rules, then provide the ARN of the rule group in this statement.
You cannot nest a RuleGroupReferenceStatement, for example for use inside a
NotStatement or OrStatement. It can only be referenced as a top-level
statement within a rule.
default Statement.Builder ruleGroupReferenceStatement(Consumer<RuleGroupReferenceStatement.Builder> ruleGroupReferenceStatement)
A rule statement used to run the rules that are defined in a RuleGroup. To use this, create a rule group with your rules, then provide the ARN of the rule group in this statement.
You cannot nest a RuleGroupReferenceStatement, for example for use inside a
NotStatement or OrStatement. It can only be referenced as a top-level statement
within a rule.
RuleGroupReferenceStatement.Builder avoiding
the need to create one manually via RuleGroupReferenceStatement.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to ruleGroupReferenceStatement(RuleGroupReferenceStatement).ruleGroupReferenceStatement - a consumer that will call methods on RuleGroupReferenceStatement.BuilderruleGroupReferenceStatement(RuleGroupReferenceStatement)Statement.Builder ipSetReferenceStatement(IPSetReferenceStatement ipSetReferenceStatement)
A rule statement used to detect web requests coming from particular IP addresses or address ranges. To use this, create an IPSet that specifies the addresses you want to detect, then use the ARN of that set in this statement. To create an IP set, see CreateIPSet.
Each IP set rule statement references an IP set. You create and maintain the set independent of your rules. This allows you to use the single set in multiple rules. When you update the referenced set, AWS WAF automatically updates all rules that reference it.
ipSetReferenceStatement - A rule statement used to detect web requests coming from particular IP addresses or address ranges. To
use this, create an IPSet that specifies the addresses you want to detect, then use the ARN of
that set in this statement. To create an IP set, see CreateIPSet.
Each IP set rule statement references an IP set. You create and maintain the set independent of your rules. This allows you to use the single set in multiple rules. When you update the referenced set, AWS WAF automatically updates all rules that reference it.
default Statement.Builder ipSetReferenceStatement(Consumer<IPSetReferenceStatement.Builder> ipSetReferenceStatement)
A rule statement used to detect web requests coming from particular IP addresses or address ranges. To use this, create an IPSet that specifies the addresses you want to detect, then use the ARN of that set in this statement. To create an IP set, see CreateIPSet.
Each IP set rule statement references an IP set. You create and maintain the set independent of your rules. This allows you to use the single set in multiple rules. When you update the referenced set, AWS WAF automatically updates all rules that reference it.
This is a convenience that creates an instance of theIPSetReferenceStatement.Builder avoiding the
need to create one manually via IPSetReferenceStatement.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to ipSetReferenceStatement(IPSetReferenceStatement).ipSetReferenceStatement - a consumer that will call methods on IPSetReferenceStatement.BuilderipSetReferenceStatement(IPSetReferenceStatement)Statement.Builder regexPatternSetReferenceStatement(RegexPatternSetReferenceStatement regexPatternSetReferenceStatement)
A rule statement used to search web request components for matches with regular expressions. To use this, create a RegexPatternSet that specifies the expressions that you want to detect, then use the ARN of that set in this statement. A web request matches the pattern set rule statement if the request component matches any of the patterns in the set. To create a regex pattern set, see CreateRegexPatternSet.
Each regex pattern set rule statement references a regex pattern set. You create and maintain the set independent of your rules. This allows you to use the single set in multiple rules. When you update the referenced set, AWS WAF automatically updates all rules that reference it.
regexPatternSetReferenceStatement - A rule statement used to search web request components for matches with regular expressions. To use
this, create a RegexPatternSet that specifies the expressions that you want to detect, then use
the ARN of that set in this statement. A web request matches the pattern set rule statement if the
request component matches any of the patterns in the set. To create a regex pattern set, see
CreateRegexPatternSet.
Each regex pattern set rule statement references a regex pattern set. You create and maintain the set independent of your rules. This allows you to use the single set in multiple rules. When you update the referenced set, AWS WAF automatically updates all rules that reference it.
default Statement.Builder regexPatternSetReferenceStatement(Consumer<RegexPatternSetReferenceStatement.Builder> regexPatternSetReferenceStatement)
A rule statement used to search web request components for matches with regular expressions. To use this, create a RegexPatternSet that specifies the expressions that you want to detect, then use the ARN of that set in this statement. A web request matches the pattern set rule statement if the request component matches any of the patterns in the set. To create a regex pattern set, see CreateRegexPatternSet.
Each regex pattern set rule statement references a regex pattern set. You create and maintain the set independent of your rules. This allows you to use the single set in multiple rules. When you update the referenced set, AWS WAF automatically updates all rules that reference it.
This is a convenience that creates an instance of theRegexPatternSetReferenceStatement.Builder
avoiding the need to create one manually via RegexPatternSetReferenceStatement.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to
regexPatternSetReferenceStatement(RegexPatternSetReferenceStatement).regexPatternSetReferenceStatement - a consumer that will call methods on RegexPatternSetReferenceStatement.BuilderregexPatternSetReferenceStatement(RegexPatternSetReferenceStatement)Statement.Builder rateBasedStatement(RateBasedStatement 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. You can use this to put a temporary block on requests from an IP address that is sending excessive requests.
When the rule action triggers, AWS WAF blocks additional requests from the IP address until the request rate falls below the limit.
You can optionally nest another statement inside the rate-based statement, to narrow the scope of the rule so that it only counts requests that match the nested statement. For example, based on recent requests that you have seen from an attacker, you might create a rate-based rule with a nested AND rule statement that contains the following nested statements:
An IP match statement with an IP set that specified the address 192.0.2.44.
A string match statement that searches in the User-Agent header for the string BadBot.
In this rate-based rule, you also define a rate limit. For this example, the rate limit is 1,000. Requests that meet both of the conditions in the statements are counted. If the count exceeds 1,000 requests per five minutes, the rule action triggers. Requests that do not meet both conditions are not counted towards the rate limit and are not affected by this rule.
You cannot nest a RateBasedStatement, for example for use inside a NotStatement or
OrStatement. It can only be referenced as a top-level statement within a rule.
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. You can use this to put a temporary block on requests from an IP address that is sending
excessive requests.
When the rule action triggers, AWS WAF blocks additional requests from the IP address until the request rate falls below the limit.
You can optionally nest another statement inside the rate-based statement, to narrow the scope of the rule so that it only counts requests that match the nested statement. For example, based on recent requests that you have seen from an attacker, you might create a rate-based rule with a nested AND rule statement that contains the following nested statements:
An IP match statement with an IP set that specified the address 192.0.2.44.
A string match statement that searches in the User-Agent header for the string BadBot.
In this rate-based rule, you also define a rate limit. For this example, the rate limit is 1,000. Requests that meet both of the conditions in the statements are counted. If the count exceeds 1,000 requests per five minutes, the rule action triggers. Requests that do not meet both conditions are not counted towards the rate limit and are not affected by this rule.
You cannot nest a RateBasedStatement, for example for use inside a
NotStatement or OrStatement. It can only be referenced as a top-level
statement within a rule.
default Statement.Builder rateBasedStatement(Consumer<RateBasedStatement.Builder> 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. You can use this to put a temporary block on requests from an IP address that is sending excessive requests.
When the rule action triggers, AWS WAF blocks additional requests from the IP address until the request rate falls below the limit.
You can optionally nest another statement inside the rate-based statement, to narrow the scope of the rule so that it only counts requests that match the nested statement. For example, based on recent requests that you have seen from an attacker, you might create a rate-based rule with a nested AND rule statement that contains the following nested statements:
An IP match statement with an IP set that specified the address 192.0.2.44.
A string match statement that searches in the User-Agent header for the string BadBot.
In this rate-based rule, you also define a rate limit. For this example, the rate limit is 1,000. Requests that meet both of the conditions in the statements are counted. If the count exceeds 1,000 requests per five minutes, the rule action triggers. Requests that do not meet both conditions are not counted towards the rate limit and are not affected by this rule.
You cannot nest a RateBasedStatement, for example for use inside a NotStatement or
OrStatement. It can only be referenced as a top-level statement within a rule.
RateBasedStatement.Builder avoiding the need to
create one manually via RateBasedStatement.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to rateBasedStatement(RateBasedStatement).rateBasedStatement - a consumer that will call methods on RateBasedStatement.BuilderrateBasedStatement(RateBasedStatement)Statement.Builder andStatement(AndStatement andStatement)
A logical rule statement used to combine other rule statements with AND logic. You provide more than one
Statement within the AndStatement.
andStatement - A logical rule statement used to combine other rule statements with AND logic. You provide more than
one Statement within the AndStatement.default Statement.Builder andStatement(Consumer<AndStatement.Builder> andStatement)
A logical rule statement used to combine other rule statements with AND logic. You provide more than one
Statement within the AndStatement.
AndStatement.Builder avoiding the need to
create one manually via AndStatement.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to andStatement(AndStatement).andStatement - a consumer that will call methods on AndStatement.BuilderandStatement(AndStatement)Statement.Builder orStatement(OrStatement orStatement)
A logical rule statement used to combine other rule statements with OR logic. You provide more than one
Statement within the OrStatement.
orStatement - A logical rule statement used to combine other rule statements with OR logic. You provide more than
one Statement within the OrStatement.default Statement.Builder orStatement(Consumer<OrStatement.Builder> orStatement)
A logical rule statement used to combine other rule statements with OR logic. You provide more than one
Statement within the OrStatement.
OrStatement.Builder avoiding the need to create
one manually via OrStatement.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to orStatement(OrStatement).orStatement - a consumer that will call methods on OrStatement.BuilderorStatement(OrStatement)Statement.Builder notStatement(NotStatement notStatement)
A logical rule statement used to negate the results of another rule statement. You provide one
Statement within the NotStatement.
notStatement - A logical rule statement used to negate the results of another rule statement. You provide one
Statement within the NotStatement.default Statement.Builder notStatement(Consumer<NotStatement.Builder> notStatement)
A logical rule statement used to negate the results of another rule statement. You provide one
Statement within the NotStatement.
NotStatement.Builder avoiding the need to
create one manually via NotStatement.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to notStatement(NotStatement).notStatement - a consumer that will call methods on NotStatement.BuildernotStatement(NotStatement)Statement.Builder managedRuleGroupStatement(ManagedRuleGroupStatement managedRuleGroupStatement)
A rule statement used to run the rules that are defined in a managed rule group. To use this, provide the vendor name and the name of the rule group in this statement. You can retrieve the required names by calling ListAvailableManagedRuleGroups.
You can't nest a ManagedRuleGroupStatement, for example for use inside a
NotStatement or OrStatement. It can only be referenced as a top-level statement
within a rule.
managedRuleGroupStatement - A rule statement used to run the rules that are defined in a managed rule group. To use this, provide
the vendor name and the name of the rule group in this statement. You can retrieve the required names
by calling ListAvailableManagedRuleGroups.
You can't nest a ManagedRuleGroupStatement, for example for use inside a
NotStatement or OrStatement. It can only be referenced as a top-level
statement within a rule.
default Statement.Builder managedRuleGroupStatement(Consumer<ManagedRuleGroupStatement.Builder> managedRuleGroupStatement)
A rule statement used to run the rules that are defined in a managed rule group. To use this, provide the vendor name and the name of the rule group in this statement. You can retrieve the required names by calling ListAvailableManagedRuleGroups.
You can't nest a ManagedRuleGroupStatement, for example for use inside a
NotStatement or OrStatement. It can only be referenced as a top-level statement
within a rule.
ManagedRuleGroupStatement.Builder avoiding the
need to create one manually via ManagedRuleGroupStatement.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to managedRuleGroupStatement(ManagedRuleGroupStatement).managedRuleGroupStatement - a consumer that will call methods on ManagedRuleGroupStatement.BuildermanagedRuleGroupStatement(ManagedRuleGroupStatement)Statement.Builder labelMatchStatement(LabelMatchStatement 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.
The label match statement provides the label or namespace string to search for. The label string can represent a part or all of the fully qualified label name that had been added to the web request. Fully qualified labels have a prefix, optional namespaces, and label name. The prefix identifies the rule group or web ACL context of the rule that added the label. If you do not provide the fully qualified name in your label match string, AWS WAF performs the search for labels that were added in the same context as the label match statement.
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.
The label match statement provides the label or namespace string to search for. The label string can represent a part or all of the fully qualified label name that had been added to the web request. Fully qualified labels have a prefix, optional namespaces, and label name. The prefix identifies the rule group or web ACL context of the rule that added the label. If you do not provide the fully qualified name in your label match string, AWS WAF performs the search for labels that were added in the same context as the label match statement.
default Statement.Builder labelMatchStatement(Consumer<LabelMatchStatement.Builder> 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.
The label match statement provides the label or namespace string to search for. The label string can represent a part or all of the fully qualified label name that had been added to the web request. Fully qualified labels have a prefix, optional namespaces, and label name. The prefix identifies the rule group or web ACL context of the rule that added the label. If you do not provide the fully qualified name in your label match string, AWS WAF performs the search for labels that were added in the same context as the label match statement.
This is a convenience that creates an instance of theLabelMatchStatement.Builder avoiding the need
to create one manually via LabelMatchStatement.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to labelMatchStatement(LabelMatchStatement).labelMatchStatement - a consumer that will call methods on LabelMatchStatement.BuilderlabelMatchStatement(LabelMatchStatement)Copyright © 2021. All rights reserved.