Interface CfnTransformer.X12ValidationOptionsProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnTransformer.X12ValidationOptionsProperty.Jsii$Proxy
Enclosing class:
CfnTransformer

@Stability(Stable) public static interface CfnTransformer.X12ValidationOptionsProperty extends software.amazon.jsii.JsiiSerializable
Contains configuration options for X12 EDI validation.

This structure allows you to specify custom validation rules that will be applied during EDI document processing, including element length constraints, code list modifications, and element requirement changes. These validation options provide flexibility to accommodate trading partner-specific requirements while maintaining EDI compliance. The validation rules are applied in addition to standard X12 validation to ensure documents meet both standard and custom requirements.

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.*;
 X12ValidationOptionsProperty x12ValidationOptionsProperty = X12ValidationOptionsProperty.builder()
         .validationRules(List.of(X12ValidationRuleProperty.builder()
                 .codeListValidationRule(X12CodeListValidationRuleProperty.builder()
                         .elementId("elementId")
                         // the properties below are optional
                         .codesToAdd(List.of("codesToAdd"))
                         .codesToRemove(List.of("codesToRemove"))
                         .build())
                 .elementLengthValidationRule(X12ElementLengthValidationRuleProperty.builder()
                         .elementId("elementId")
                         .maxLength(123)
                         .minLength(123)
                         .build())
                 .elementRequirementValidationRule(X12ElementRequirementValidationRuleProperty.builder()
                         .elementPosition("elementPosition")
                         .requirement("requirement")
                         .build())
                 .build()))
         .build();
 

See Also: