Interface CfnTransformer.OutputConversionProperty

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

@Stability(Stable) public static interface CfnTransformer.OutputConversionProperty extends software.amazon.jsii.JsiiSerializable
Contains the formatting options for an outbound transformer (takes JSON or XML as input and converts it to an EDI document (currently only X12 format is supported).

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.*;
 OutputConversionProperty outputConversionProperty = OutputConversionProperty.builder()
         .toFormat("toFormat")
         // 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: