CopyableBuilder<WebACL.Builder,WebACL>, SdkBuilder<WebACL.Builder,WebACL>public static interface WebACL.Builder extends CopyableBuilder<WebACL.Builder,WebACL>
| Modifier and Type | Method | Description |
|---|---|---|
WebACL.Builder |
defaultAction(WafAction defaultAction) |
The action to perform if none of the
Rules contained in the WebACL match. |
WebACL.Builder |
metricName(String metricName) |
A friendly name or description for the metrics for this
WebACL. |
WebACL.Builder |
name(String name) |
A friendly name or description of the
WebACL. |
WebACL.Builder |
rules(Collection<ActivatedRule> rules) |
An array that contains the action for each
Rule in a WebACL, the priority of the
Rule, and the ID of the Rule. |
WebACL.Builder |
rules(ActivatedRule... rules) |
An array that contains the action for each
Rule in a WebACL, the priority of the
Rule, and the ID of the Rule. |
WebACL.Builder |
webACLId(String webACLId) |
A unique identifier for a
WebACL. |
copyapply, buildWebACL.Builder webACLId(String webACLId)
A unique identifier for a WebACL. You use WebACLId to get information about a
WebACL (see GetWebACL), update a WebACL (see UpdateWebACL), and
delete a WebACL from AWS WAF (see DeleteWebACL).
WebACLId is returned by CreateWebACL and by ListWebACLs.
webACLId - A unique identifier for a WebACL. You use WebACLId to get information about
a WebACL (see GetWebACL), update a WebACL (see UpdateWebACL),
and delete a WebACL from AWS WAF (see DeleteWebACL).
WebACLId is returned by CreateWebACL and by ListWebACLs.
WebACL.Builder name(String name)
A friendly name or description of the WebACL. You can't change the name of a WebACL
after you create it.
name - A friendly name or description of the WebACL. You can't change the name of a
WebACL after you create it.WebACL.Builder metricName(String metricName)
A friendly name or description for the metrics for this WebACL. The name can contain only
alphanumeric characters (A-Z, a-z, 0-9); the name can't contain whitespace. You can't change
MetricName after you create the WebACL.
metricName - A friendly name or description for the metrics for this WebACL. The name can contain only
alphanumeric characters (A-Z, a-z, 0-9); the name can't contain whitespace. You can't change
MetricName after you create the WebACL.WebACL.Builder defaultAction(WafAction defaultAction)
The action to perform if none of the Rules contained in the WebACL match. The
action is specified by the WafAction object.
defaultAction - The action to perform if none of the Rules contained in the WebACL match.
The action is specified by the WafAction object.WebACL.Builder rules(Collection<ActivatedRule> rules)
An array that contains the action for each Rule in a WebACL, the priority of the
Rule, and the ID of the Rule.
rules - An array that contains the action for each Rule in a WebACL, the priority of
the Rule, and the ID of the Rule.WebACL.Builder rules(ActivatedRule... rules)
An array that contains the action for each Rule in a WebACL, the priority of the
Rule, and the ID of the Rule.
NOTE: This method appends the values to the existing list (if any). Use
#setRules(java.util.Collection) or #withRules(java.util.Collection) if you want to override
the existing values.
rules - An array that contains the action for each Rule in a WebACL, the priority of
the Rule, and the ID of the Rule.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.