Class CfnTransformerPropsMixin.X12ElementLengthValidationRuleProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.b2bi.CfnTransformerPropsMixin.X12ElementLengthValidationRuleProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTransformerPropsMixin.X12ElementLengthValidationRuleProperty>
- Enclosing interface:
CfnTransformerPropsMixin.X12ElementLengthValidationRuleProperty
@Stability(Stable)
public static final class CfnTransformerPropsMixin.X12ElementLengthValidationRuleProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTransformerPropsMixin.X12ElementLengthValidationRuleProperty>
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
elementId
@Stability(Stable) public CfnTransformerPropsMixin.X12ElementLengthValidationRuleProperty.Builder elementId(String elementId) - Parameters:
elementId- Specifies the four-digit element ID to which the length constraints will be applied. This identifies which X12 element will have its length requirements modified.- Returns:
this
-
maxLength
@Stability(Stable) public CfnTransformerPropsMixin.X12ElementLengthValidationRuleProperty.Builder maxLength(Number maxLength) - Parameters:
maxLength- Specifies the maximum allowed length for the identified element. This value defines the upper limit for the element's content length.- Returns:
this
-
minLength
@Stability(Stable) public CfnTransformerPropsMixin.X12ElementLengthValidationRuleProperty.Builder minLength(Number minLength) - Parameters:
minLength- Specifies the minimum required length for the identified element. This value defines the lower limit for the element's content length.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTransformerPropsMixin.X12ElementLengthValidationRuleProperty>- Returns:
- a new instance of
CfnTransformerPropsMixin.X12ElementLengthValidationRuleProperty - Throws:
NullPointerException- if any required attribute was not provided
-