Interface CfnTransformerPropsMixin.X12ElementLengthValidationRuleProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTransformerPropsMixin.X12ElementLengthValidationRuleProperty.Jsii$Proxy
- Enclosing class:
CfnTransformerPropsMixin
@Stability(Stable)
public static interface CfnTransformerPropsMixin.X12ElementLengthValidationRuleProperty
extends software.amazon.jsii.JsiiSerializable
Defines a validation rule that specifies custom length constraints for a specific X12 element.
This rule allows you to override the standard minimum and maximum length requirements for an element, enabling validation of trading partner-specific length requirements that may differ from the X12 specification. Both minimum and maximum length values must be specified.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.b2bi.*;
X12ElementLengthValidationRuleProperty x12ElementLengthValidationRuleProperty = X12ElementLengthValidationRuleProperty.builder()
.elementId("elementId")
.maxLength(123)
.minLength(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnTransformerPropsMixin.X12ElementLengthValidationRuleProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringSpecifies the four-digit element ID to which the length constraints will be applied.default NumberSpecifies the maximum allowed length for the identified element.default NumberSpecifies the minimum required length for the identified element.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getElementId
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.
- See Also:
-
getMaxLength
Specifies the maximum allowed length for the identified element.This value defines the upper limit for the element's content length.
- See Also:
-
getMinLength
Specifies the minimum required length for the identified element.This value defines the lower limit for the element's content length.
- See Also:
-
builder
@Stability(Stable) static CfnTransformerPropsMixin.X12ElementLengthValidationRuleProperty.Builder builder()
-