Class CfnTransformerProps.Builder
java.lang.Object
software.amazon.awscdk.services.b2bi.CfnTransformerProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTransformerProps>
- Enclosing interface:
CfnTransformerProps
@Stability(Stable)
public static final class CfnTransformerProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTransformerProps>
A builder for
CfnTransformerProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.ediType(IResolvable ediType) Sets the value ofCfnTransformerProps.getEdiType()ediType(CfnTransformer.EdiTypeProperty ediType) Sets the value ofCfnTransformerProps.getEdiType()fileFormat(String fileFormat) Sets the value ofCfnTransformerProps.getFileFormat()mappingTemplate(String mappingTemplate) Sets the value ofCfnTransformerProps.getMappingTemplate()modifiedAt(String modifiedAt) Sets the value ofCfnTransformerProps.getModifiedAt()Sets the value ofCfnTransformerProps.getName()sampleDocument(String sampleDocument) Sets the value ofCfnTransformerProps.getSampleDocument()Sets the value ofCfnTransformerProps.getStatus()Sets the value ofCfnTransformerProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
ediType
Sets the value ofCfnTransformerProps.getEdiType()- Parameters:
ediType- Returns the details for the EDI standard that is being used for the transformer. This parameter is required. Currently, only X12 is supported. X12 is a set of standards and corresponding messages that define specific business documents.- Returns:
this
-
ediType
@Stability(Stable) public CfnTransformerProps.Builder ediType(CfnTransformer.EdiTypeProperty ediType) Sets the value ofCfnTransformerProps.getEdiType()- Parameters:
ediType- Returns the details for the EDI standard that is being used for the transformer. This parameter is required. Currently, only X12 is supported. X12 is a set of standards and corresponding messages that define specific business documents.- Returns:
this
-
fileFormat
Sets the value ofCfnTransformerProps.getFileFormat()- Parameters:
fileFormat- Returns that the currently supported file formats for EDI transformations areJSONandXML. This parameter is required.- Returns:
this
-
mappingTemplate
Sets the value ofCfnTransformerProps.getMappingTemplate()- 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
-
name
Sets the value ofCfnTransformerProps.getName()- Parameters:
name- Returns the descriptive name for the transformer. This parameter is required.- Returns:
this
-
status
Sets the value ofCfnTransformerProps.getStatus()- Parameters:
status- Returns the state of the newly created transformer. This parameter is required. The transformer can be eitheractiveorinactive. For the transformer to be used in a capability, its status mustactive.- Returns:
this
-
modifiedAt
Sets the value ofCfnTransformerProps.getModifiedAt()- Parameters:
modifiedAt- Returns a timestamp representing the date and time for the most recent change for the transformer object.- Returns:
this
-
sampleDocument
Sets the value ofCfnTransformerProps.getSampleDocument()- Parameters:
sampleDocument- Returns a sample EDI document that is used by a transformer as a guide for processing the EDI data.- Returns:
this
-
tags
Sets the value ofCfnTransformerProps.getTags()- Parameters:
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.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTransformerProps>- Returns:
- a new instance of
CfnTransformerProps - Throws:
NullPointerException- if any required attribute was not provided
-