public static interface CreateRuleRequest.Builder extends WafRequest.Builder, SdkPojo, CopyableBuilder<CreateRuleRequest.Builder,CreateRuleRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateRuleRequest.Builder |
changeToken(String changeToken)
The value returned by the most recent call to GetChangeToken.
|
CreateRuleRequest.Builder |
metricName(String metricName)
A friendly name or description for the metrics for this
Rule. |
CreateRuleRequest.Builder |
name(String name)
A friendly name or description of the Rule.
|
CreateRuleRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateRuleRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateRuleRequest.Builder |
tags(Collection<Tag> tags)
|
CreateRuleRequest.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(). |
CreateRuleRequest.Builder |
tags(Tag... tags)
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateRuleRequest.Builder name(String name)
A friendly name or description of the Rule. You can't change the name of a Rule after you
create it.
name - A friendly name or description of the Rule. You can't change the name of a Rule
after you create it.CreateRuleRequest.Builder metricName(String metricName)
A friendly name or description for the metrics for this Rule. 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 the
name of the metric after you create the Rule.
metricName - A friendly name or description for the metrics for this Rule. 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 the name of the metric after you create the Rule.CreateRuleRequest.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.CreateRuleRequest.Builder tags(Collection<Tag> tags)
tags - CreateRuleRequest.Builder tags(Tag... tags)
tags - CreateRuleRequest.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) CreateRuleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateRuleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.