Class CfnTransformerMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.b2bi.CfnTransformerMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTransformerMixinProps>
- Enclosing interface:
CfnTransformerMixinProps
@Stability(Stable)
public static final class CfnTransformerMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTransformerMixinProps>
A builder for
CfnTransformerMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Deprecated.this property has been deprecatedediType(IResolvable ediType) Deprecated.this property has been deprecatedfileFormat(String fileFormat) Deprecated.this property has been deprecatedinputConversion(CfnTransformerPropsMixin.InputConversionProperty inputConversion) Sets the value ofCfnTransformerMixinProps.getInputConversion()inputConversion(IResolvable inputConversion) Sets the value ofCfnTransformerMixinProps.getInputConversion()Sets the value ofCfnTransformerMixinProps.getMapping()mapping(IResolvable mapping) Sets the value ofCfnTransformerMixinProps.getMapping()mappingTemplate(String mappingTemplate) Deprecated.this property has been deprecatedSets the value ofCfnTransformerMixinProps.getName()outputConversion(CfnTransformerPropsMixin.OutputConversionProperty outputConversion) Sets the value ofCfnTransformerMixinProps.getOutputConversion()outputConversion(IResolvable outputConversion) Sets the value ofCfnTransformerMixinProps.getOutputConversion()sampleDocument(String sampleDocument) Deprecated.this property has been deprecatedsampleDocuments(CfnTransformerPropsMixin.SampleDocumentsProperty sampleDocuments) Sets the value ofCfnTransformerMixinProps.getSampleDocuments()sampleDocuments(IResolvable sampleDocuments) Sets the value ofCfnTransformerMixinProps.getSampleDocuments()Sets the value ofCfnTransformerMixinProps.getStatus()Sets the value ofCfnTransformerMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
ediType
@Stability(Deprecated) @Deprecated public CfnTransformerMixinProps.Builder ediType(IResolvable ediType) Deprecated.this property has been deprecatedSets the value ofCfnTransformerMixinProps.getEdiType()- Parameters:
ediType- the value to be set.- Returns:
this
-
ediType
@Stability(Deprecated) @Deprecated public CfnTransformerMixinProps.Builder ediType(CfnTransformerPropsMixin.EdiTypeProperty ediType) Deprecated.this property has been deprecatedSets the value ofCfnTransformerMixinProps.getEdiType()- Parameters:
ediType- the value to be set.- Returns:
this
-
fileFormat
@Stability(Deprecated) @Deprecated public CfnTransformerMixinProps.Builder fileFormat(String fileFormat) Deprecated.this property has been deprecatedSets the value ofCfnTransformerMixinProps.getFileFormat()- Parameters:
fileFormat- the value to be set.- Returns:
this
-
inputConversion
@Stability(Stable) public CfnTransformerMixinProps.Builder inputConversion(IResolvable inputConversion) Sets the value ofCfnTransformerMixinProps.getInputConversion()- Parameters:
inputConversion- Returns a structure that contains the format options for the transformation.- Returns:
this
-
inputConversion
@Stability(Stable) public CfnTransformerMixinProps.Builder inputConversion(CfnTransformerPropsMixin.InputConversionProperty inputConversion) Sets the value ofCfnTransformerMixinProps.getInputConversion()- Parameters:
inputConversion- Returns a structure that contains the format options for the transformation.- Returns:
this
-
mapping
Sets the value ofCfnTransformerMixinProps.getMapping()- Parameters:
mapping- Returns the structure that contains the mapping template and its language (either XSLT or JSONATA).- Returns:
this
-
mapping
@Stability(Stable) public CfnTransformerMixinProps.Builder mapping(CfnTransformerPropsMixin.MappingProperty mapping) Sets the value ofCfnTransformerMixinProps.getMapping()- Parameters:
mapping- Returns the structure that contains the mapping template and its language (either XSLT or JSONATA).- Returns:
this
-
mappingTemplate
@Stability(Deprecated) @Deprecated public CfnTransformerMixinProps.Builder mappingTemplate(String mappingTemplate) Deprecated.this property has been deprecatedSets the value ofCfnTransformerMixinProps.getMappingTemplate()- Parameters:
mappingTemplate- This shape is deprecated: This is a legacy trait. Please use input-conversion or output-conversion.- Returns:
this
-
name
Sets the value ofCfnTransformerMixinProps.getName()- Parameters:
name- Returns the descriptive name for the transformer.- Returns:
this
-
outputConversion
@Stability(Stable) public CfnTransformerMixinProps.Builder outputConversion(IResolvable outputConversion) Sets the value ofCfnTransformerMixinProps.getOutputConversion()- Parameters:
outputConversion- Returns theOutputConversionobject, which contains the format options for the outbound transformation.- Returns:
this
-
outputConversion
@Stability(Stable) public CfnTransformerMixinProps.Builder outputConversion(CfnTransformerPropsMixin.OutputConversionProperty outputConversion) Sets the value ofCfnTransformerMixinProps.getOutputConversion()- Parameters:
outputConversion- Returns theOutputConversionobject, which contains the format options for the outbound transformation.- Returns:
this
-
sampleDocument
@Stability(Deprecated) @Deprecated public CfnTransformerMixinProps.Builder sampleDocument(String sampleDocument) Deprecated.this property has been deprecatedSets the value ofCfnTransformerMixinProps.getSampleDocument()- Parameters:
sampleDocument- This shape is deprecated: This is a legacy trait. Please use input-conversion or output-conversion.- Returns:
this
-
sampleDocuments
@Stability(Stable) public CfnTransformerMixinProps.Builder sampleDocuments(IResolvable sampleDocuments) Sets the value ofCfnTransformerMixinProps.getSampleDocuments()- Parameters:
sampleDocuments- Returns a structure that contains the Amazon S3 bucket and an array of the corresponding keys used to identify the location for your sample documents.- Returns:
this
-
sampleDocuments
@Stability(Stable) public CfnTransformerMixinProps.Builder sampleDocuments(CfnTransformerPropsMixin.SampleDocumentsProperty sampleDocuments) Sets the value ofCfnTransformerMixinProps.getSampleDocuments()- Parameters:
sampleDocuments- Returns a structure that contains the Amazon S3 bucket and an array of the corresponding keys used to identify the location for your sample documents.- Returns:
this
-
status
Sets the value ofCfnTransformerMixinProps.getStatus()- Parameters:
status- Returns the state of the newly created transformer. The transformer can be eitheractiveorinactive. For the transformer to be used in a capability, its status mustactive.- Returns:
this
-
tags
Sets the value ofCfnTransformerMixinProps.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<CfnTransformerMixinProps>- Returns:
- a new instance of
CfnTransformerMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-