Class CfnRuleGroup.TextTransformationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.wafv2.CfnRuleGroup.TextTransformationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRuleGroup.TextTransformationProperty>
- Enclosing interface:
CfnRuleGroup.TextTransformationProperty
@Stability(Stable)
public static final class CfnRuleGroup.TextTransformationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRuleGroup.TextTransformationProperty>
A builder for
CfnRuleGroup.TextTransformationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnRuleGroup.TextTransformationProperty.getPriority()
Sets the value ofCfnRuleGroup.TextTransformationProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
priority
Sets the value ofCfnRuleGroup.TextTransformationProperty.getPriority()
- Parameters:
priority
- Sets the relative processing order for multiple transformations. This parameter is required. AWS WAF processes all transformations, from lowest priority to highest, before inspecting the transformed content. The priorities don't need to be consecutive, but they must all be different.- Returns:
this
-
type
Sets the value ofCfnRuleGroup.TextTransformationProperty.getType()
- Parameters:
type
- For detailed descriptions of each of the transformation types, see Text transformations in the AWS WAF Developer Guide . This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnRuleGroup.TextTransformationProperty>
- Returns:
- a new instance of
CfnRuleGroup.TextTransformationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-