Class CfnWebACLPropsMixin.TextTransformationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.wafv2.CfnWebACLPropsMixin.TextTransformationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWebACLPropsMixin.TextTransformationProperty>
- Enclosing interface:
CfnWebACLPropsMixin.TextTransformationProperty
@Stability(Stable)
public static final class CfnWebACLPropsMixin.TextTransformationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWebACLPropsMixin.TextTransformationProperty>
A builder for
CfnWebACLPropsMixin.TextTransformationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnWebACLPropsMixin.TextTransformationProperty.getPriority()Sets the value ofCfnWebACLPropsMixin.TextTransformationProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
priority
@Stability(Stable) public CfnWebACLPropsMixin.TextTransformationProperty.Builder priority(Number priority) Sets the value ofCfnWebACLPropsMixin.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
Sets the value ofCfnWebACLPropsMixin.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<CfnWebACLPropsMixin.TextTransformationProperty>- Returns:
- a new instance of
CfnWebACLPropsMixin.TextTransformationProperty - Throws:
NullPointerException- if any required attribute was not provided
-