public static interface CreateWebACLRequest.Builder extends WAFRequest.Builder, 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 . |
CreateWebACLRequest.Builder |
name(String name)
A friendly name or description of the WebACL.
|
CreateWebACLRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
CreateWebACLRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
build
requestOverrideConfig
copy
apply, build
CreateWebACLRequest.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); 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
.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.Builder
defaultAction(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 requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.CreateWebACLRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfig.Builder
will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.