Interface CreateRuleGroupRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateRuleGroupRequest.Builder,CreateRuleGroupRequest>,SdkBuilder<CreateRuleGroupRequest.Builder,CreateRuleGroupRequest>,SdkPojo,SdkRequest.Builder,WafRequest.Builder
- Enclosing class:
- CreateRuleGroupRequest
public static interface CreateRuleGroupRequest.Builder extends WafRequest.Builder, SdkPojo, CopyableBuilder<CreateRuleGroupRequest.Builder,CreateRuleGroupRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateRuleGroupRequest.BuilderchangeToken(String changeToken)The value returned by the most recent call to GetChangeToken.CreateRuleGroupRequest.BuildermetricName(String metricName)A friendly name or description for the metrics for thisRuleGroup.CreateRuleGroupRequest.Buildername(String name)A friendly name or description of the RuleGroup.CreateRuleGroupRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateRuleGroupRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateRuleGroupRequest.Buildertags(Collection<Tag> tags)CreateRuleGroupRequest.Buildertags(Consumer<Tag.Builder>... tags)This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().CreateRuleGroupRequest.Buildertags(Tag... tags)-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.waf.model.WafRequest.Builder
build
-
-
-
-
Method Detail
-
name
CreateRuleGroupRequest.Builder name(String name)
A friendly name or description of the RuleGroup. You can't change
Nameafter you create aRuleGroup.- Parameters:
name- A friendly name or description of the RuleGroup. You can't changeNameafter you create aRuleGroup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricName
CreateRuleGroupRequest.Builder metricName(String metricName)
A friendly name or description for the metrics for this
RuleGroup. 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 theRuleGroup.- Parameters:
metricName- A friendly name or description for the metrics for thisRuleGroup. 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 theRuleGroup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
changeToken
CreateRuleGroupRequest.Builder changeToken(String changeToken)
The value returned by the most recent call to GetChangeToken.
- Parameters:
changeToken- The value returned by the most recent call to GetChangeToken.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateRuleGroupRequest.Builder tags(Collection<Tag> tags)
- Parameters:
tags-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateRuleGroupRequest.Builder tags(Tag... tags)
- Parameters:
tags-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateRuleGroupRequest.Builder tags(Consumer<Tag.Builder>... tags)
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
overrideConfiguration
CreateRuleGroupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateRuleGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-