Interface CfnTransformerPropsMixin.OutputConversionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTransformerPropsMixin.OutputConversionProperty.Jsii$Proxy
- Enclosing class:
CfnTransformerPropsMixin
@Stability(Stable)
public static interface CfnTransformerPropsMixin.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.cfnpropertymixins.services.b2bi.*;
OutputConversionProperty outputConversionProperty = OutputConversionProperty.builder()
.advancedOptions(AdvancedOptionsProperty.builder()
.x12(X12AdvancedOptionsProperty.builder()
.splitOptions(X12SplitOptionsProperty.builder()
.splitBy("splitBy")
.build())
.validationOptions(X12ValidationOptionsProperty.builder()
.validationRules(List.of(X12ValidationRuleProperty.builder()
.codeListValidationRule(X12CodeListValidationRuleProperty.builder()
.codesToAdd(List.of("codesToAdd"))
.codesToRemove(List.of("codesToRemove"))
.elementId("elementId")
.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())
.toFormat("toFormat")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTransformerPropsMixin.OutputConversionPropertystatic final classAn implementation forCfnTransformerPropsMixin.OutputConversionProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectReturns union: eitherIResolvableorCfnTransformerPropsMixin.AdvancedOptionsPropertydefault ObjectA structure that contains the X12 transaction set and version for the transformer output.default StringThe format for the output from an outbound transformer: only X12 is currently supported.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAdvancedOptions
Returns union: eitherIResolvableorCfnTransformerPropsMixin.AdvancedOptionsProperty- See Also:
-
getFormatOptions
A structure that contains the X12 transaction set and version for the transformer output.Returns union: either
IResolvableorCfnTransformerPropsMixin.FormatOptionsProperty- See Also:
-
getToFormat
The format for the output from an outbound transformer: only X12 is currently supported.- See Also:
-
builder
-