Interface CfnTransformer.InputConversionProperty

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

@Stability(Stable) public static interface CfnTransformer.InputConversionProperty extends software.amazon.jsii.JsiiSerializable
Contains the input formatting options for an inbound transformer (takes an X12-formatted EDI document as input and converts it to JSON or XML.

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.*;
 InputConversionProperty inputConversionProperty = InputConversionProperty.builder()
         .fromFormat("fromFormat")
         // the properties below are optional
         .advancedOptions(AdvancedOptionsProperty.builder()
                 .x12(X12AdvancedOptionsProperty.builder()
                         .splitOptions(X12SplitOptionsProperty.builder()
                                 .splitBy("splitBy")
                                 .build())
                         .validationOptions(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())
                         .build())
                 .build())
         .formatOptions(FormatOptionsProperty.builder()
                 .x12(X12DetailsProperty.builder()
                         .transactionSet("transactionSet")
                         .version("version")
                         .build())
                 .build())
         .build();
 

See Also: