Class CfnRuleGroup.PreParseTextTransformationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.wafv2.CfnRuleGroup.PreParseTextTransformationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRuleGroup.PreParseTextTransformationProperty>
- Enclosing interface:
CfnRuleGroup.PreParseTextTransformationProperty
@Stability(Stable)
public static final class CfnRuleGroup.PreParseTextTransformationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRuleGroup.PreParseTextTransformationProperty>
A builder for
CfnRuleGroup.PreParseTextTransformationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnRuleGroup.PreParseTextTransformationProperty.getPriority()Sets the value ofCfnRuleGroup.PreParseTextTransformationProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
priority
@Stability(Stable) public CfnRuleGroup.PreParseTextTransformationProperty.Builder priority(Number priority) Sets the value ofCfnRuleGroup.PreParseTextTransformationProperty.getPriority()- Parameters:
priority- Priority of PreParseTextTransformation being applied. This parameter is required.- Returns:
this
-
type
Sets the value ofCfnRuleGroup.PreParseTextTransformationProperty.getType()- Parameters:
type- Type of pre-parse text transformation. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRuleGroup.PreParseTextTransformationProperty>- Returns:
- a new instance of
CfnRuleGroup.PreParseTextTransformationProperty - Throws:
NullPointerException- if any required attribute was not provided
-