Interface CfnTransformer.X12ElementLengthValidationRuleProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTransformer.X12ElementLengthValidationRuleProperty.Jsii$Proxy
- Enclosing class:
CfnTransformer
@Stability(Stable)
public static interface CfnTransformer.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.services.b2bi.*; X12ElementLengthValidationRuleProperty x12ElementLengthValidationRuleProperty = X12ElementLengthValidationRuleProperty.builder() .elementId("elementId") .maxLength(123) .minLength(123) .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnTransformer.X12ElementLengthValidationRuleProperty
static final class
An implementation forCfnTransformer.X12ElementLengthValidationRuleProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Specifies the four-digit element ID to which the length constraints will be applied.Specifies the maximum allowed length for the identified element.Specifies 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
-