Class CfnRuleGroupPropsMixin.TextTransformationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.wafv2.CfnRuleGroupPropsMixin.TextTransformationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRuleGroupPropsMixin.TextTransformationProperty>
- Enclosing interface:
CfnRuleGroupPropsMixin.TextTransformationProperty
@Stability(Stable)
public static final class CfnRuleGroupPropsMixin.TextTransformationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRuleGroupPropsMixin.TextTransformationProperty>
A builder for
CfnRuleGroupPropsMixin.TextTransformationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnRuleGroupPropsMixin.TextTransformationProperty.getPriority()Sets the value ofCfnRuleGroupPropsMixin.TextTransformationProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
priority
@Stability(Stable) public CfnRuleGroupPropsMixin.TextTransformationProperty.Builder priority(Number priority) Sets the value ofCfnRuleGroupPropsMixin.TextTransformationProperty.getPriority()- Parameters:
priority- Sets the relative processing order for multiple transformations. 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
@Stability(Stable) public CfnRuleGroupPropsMixin.TextTransformationProperty.Builder type(String type) Sets the value ofCfnRuleGroupPropsMixin.TextTransformationProperty.getType()- Parameters:
type- For detailed descriptions of each of the transformation types, see Text transformations in the AWS WAF Developer Guide .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRuleGroupPropsMixin.TextTransformationProperty>- Returns:
- a new instance of
CfnRuleGroupPropsMixin.TextTransformationProperty - Throws:
NullPointerException- if any required attribute was not provided
-