Class CfnTransformer.Builder
java.lang.Object
software.amazon.awscdk.services.b2bi.CfnTransformer.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTransformer>
- Enclosing class:
CfnTransformer
@Stability(Stable)
public static final class CfnTransformer.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTransformer>
A fluent builder for
CfnTransformer.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnTransformer.BuilderediType(IResolvable ediType) Returns the details for the EDI standard that is being used for the transformer.ediType(CfnTransformer.EdiTypeProperty ediType) Returns the details for the EDI standard that is being used for the transformer.fileFormat(String fileFormat) Returns that the currently supported file formats for EDI transformations areJSONandXML.mappingTemplate(String mappingTemplate) Returns a sample EDI document that is used by a transformer as a guide for processing the EDI data.Returns the descriptive name for the transformer.sampleDocument(String sampleDocument) Returns a sample EDI document that is used by a transformer as a guide for processing the EDI data.Returns the state of the newly created transformer.A key-value pair for a specific transformer.
-
Method Details
-
create
@Stability(Stable) public static CfnTransformer.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnTransformer.Builder.
-
ediType
Returns the details for the EDI standard that is being used for the transformer.Currently, only X12 is supported. X12 is a set of standards and corresponding messages that define specific business documents.
- Parameters:
ediType- Returns the details for the EDI standard that is being used for the transformer. This parameter is required.- Returns:
this- See Also:
-
ediType
Returns the details for the EDI standard that is being used for the transformer.Currently, only X12 is supported. X12 is a set of standards and corresponding messages that define specific business documents.
- Parameters:
ediType- Returns the details for the EDI standard that is being used for the transformer. This parameter is required.- Returns:
this- See Also:
-
fileFormat
Returns that the currently supported file formats for EDI transformations areJSONandXML.- Parameters:
fileFormat- Returns that the currently supported file formats for EDI transformations areJSONandXML. This parameter is required.- Returns:
this- See Also:
-
mappingTemplate
Returns a sample EDI document that is used by a transformer as a guide for processing the EDI data.- Parameters:
mappingTemplate- Returns a sample EDI document that is used by a transformer as a guide for processing the EDI data. This parameter is required.- Returns:
this- See Also:
-
name
Returns the descriptive name for the transformer.- Parameters:
name- Returns the descriptive name for the transformer. This parameter is required.- Returns:
this- See Also:
-
status
Returns the state of the newly created transformer.The transformer can be either
activeorinactive. For the transformer to be used in a capability, its status mustactive.- Parameters:
status- Returns the state of the newly created transformer. This parameter is required.- Returns:
this- See Also:
-
sampleDocument
Returns a sample EDI document that is used by a transformer as a guide for processing the EDI data.- Parameters:
sampleDocument- Returns a sample EDI document that is used by a transformer as a guide for processing the EDI data. This parameter is required.- Returns:
this- See Also:
-
tags
A key-value pair for a specific transformer.Tags are metadata that you can use to search for and group capabilities for various purposes.
- Parameters:
tags- A key-value pair for a specific transformer. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTransformer>- Returns:
- a newly built instance of
CfnTransformer.
-