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:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTransformer.InputConversionPropertystatic final classAn implementation forCfnTransformer.InputConversionProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFromFormat
The format for the transformer input: currently onX12is supported.- See Also:
-
getAdvancedOptions
Specifies advanced options for the input conversion process.These options provide additional control over how EDI files are processed during transformation.
Returns union: either
IResolvableorCfnTransformer.AdvancedOptionsProperty- See Also:
-
getFormatOptions
A structure that contains the formatting options for an inbound transformer.Returns union: either
IResolvableorCfnTransformer.FormatOptionsProperty- See Also:
-
builder
-