public static interface CreateWebAclRequest.Builder extends WafRequest.Builder, SdkPojo, CopyableBuilder<CreateWebAclRequest.Builder,CreateWebAclRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateWebAclRequest.Builder |
changeToken(String changeToken)
The value returned by the most recent call to GetChangeToken.
|
default CreateWebAclRequest.Builder |
defaultAction(Consumer<WafAction.Builder> defaultAction)
The action that you want AWS WAF to take when a request doesn't match the criteria specified in any of the
Rule objects that are associated with the WebACL. |
CreateWebAclRequest.Builder |
defaultAction(WafAction defaultAction)
The action that you want AWS WAF to take when a request doesn't match the criteria specified in any of the
Rule objects that are associated with the WebACL. |
CreateWebAclRequest.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), with maximum length 128 and minimum length one. |
CreateWebAclRequest.Builder |
name(String name)
A friendly name or description of the WebACL.
|
CreateWebAclRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateWebAclRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateWebAclRequest.Builder |
tags(Collection<Tag> tags)
|
CreateWebAclRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
This is a convenience method that creates an instance of the
Tag.Builder avoiding the need to create one manually via
Tag.builder(). |
CreateWebAclRequest.Builder |
tags(Tag... tags)
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateWebAclRequest.Builder name(String name)
A friendly name or description of the WebACL. You can't change Name after you create the
WebACL.
name - A friendly name or description of the WebACL. You can't change Name after you
create the WebACL.CreateWebAclRequest.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), with maximum length 128 and minimum length one. It can't contain
whitespace or metric names reserved for AWS WAF, including "All" and "Default_Action." 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), with maximum length 128 and minimum length one. It can't
contain whitespace or metric names reserved for AWS WAF, including "All" and "Default_Action." You
can't change MetricName after you create the WebACL.CreateWebAclRequest.Builder defaultAction(WafAction defaultAction)
The action that you want AWS WAF to take when a request doesn't match the criteria specified in any of the
Rule objects that are associated with the WebACL.
defaultAction - The action that you want AWS WAF to take when a request doesn't match the criteria specified in any of
the Rule objects that are associated with the WebACL.default CreateWebAclRequest.Builder defaultAction(Consumer<WafAction.Builder> defaultAction)
The action that you want AWS WAF to take when a request doesn't match the criteria specified in any of the
Rule objects that are associated with the WebACL.
WafAction.Builder avoiding the need to
create one manually via WafAction.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to defaultAction(WafAction).
defaultAction - a consumer that will call methods on WafAction.BuilderdefaultAction(WafAction)CreateWebAclRequest.Builder changeToken(String changeToken)
The value returned by the most recent call to GetChangeToken.
changeToken - The value returned by the most recent call to GetChangeToken.CreateWebAclRequest.Builder tags(Collection<Tag> tags)
tags - CreateWebAclRequest.Builder tags(Tag... tags)
tags - CreateWebAclRequest.Builder tags(Consumer<Tag.Builder>... tags)
Tag.Builder avoiding the need to create one manually via
Tag.builder().
When the Consumer completes, SdkBuilder.build() is
called immediately and its result is passed to #tags(List.
tags - a consumer that will call methods on Tag.Builder#tags(java.util.Collection) CreateWebAclRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateWebAclRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.