Class CfnTransformer.OutputConversionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.b2bi.CfnTransformer.OutputConversionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTransformer.OutputConversionProperty>
- Enclosing interface:
CfnTransformer.OutputConversionProperty
@Stability(Stable)
public static final class CfnTransformer.OutputConversionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTransformer.OutputConversionProperty>
A builder for
CfnTransformer.OutputConversionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadvancedOptions(IResolvable advancedOptions) Sets the value ofCfnTransformer.OutputConversionProperty.getAdvancedOptions()advancedOptions(CfnTransformer.AdvancedOptionsProperty advancedOptions) Sets the value ofCfnTransformer.OutputConversionProperty.getAdvancedOptions()build()Builds the configured instance.formatOptions(IResolvable formatOptions) Sets the value ofCfnTransformer.OutputConversionProperty.getFormatOptions()formatOptions(CfnTransformer.FormatOptionsProperty formatOptions) Sets the value ofCfnTransformer.OutputConversionProperty.getFormatOptions()Sets the value ofCfnTransformer.OutputConversionProperty.getToFormat()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
toFormat
Sets the value ofCfnTransformer.OutputConversionProperty.getToFormat()- Parameters:
toFormat- The format for the output from an outbound transformer: only X12 is currently supported. This parameter is required.- Returns:
this
-
advancedOptions
@Stability(Stable) public CfnTransformer.OutputConversionProperty.Builder advancedOptions(IResolvable advancedOptions) Sets the value ofCfnTransformer.OutputConversionProperty.getAdvancedOptions()- Parameters:
advancedOptions- the value to be set.- Returns:
this
-
advancedOptions
@Stability(Stable) public CfnTransformer.OutputConversionProperty.Builder advancedOptions(CfnTransformer.AdvancedOptionsProperty advancedOptions) Sets the value ofCfnTransformer.OutputConversionProperty.getAdvancedOptions()- Parameters:
advancedOptions- the value to be set.- Returns:
this
-
formatOptions
@Stability(Stable) public CfnTransformer.OutputConversionProperty.Builder formatOptions(IResolvable formatOptions) Sets the value ofCfnTransformer.OutputConversionProperty.getFormatOptions()- Parameters:
formatOptions- A structure that contains the X12 transaction set and version for the transformer output.- Returns:
this
-
formatOptions
@Stability(Stable) public CfnTransformer.OutputConversionProperty.Builder formatOptions(CfnTransformer.FormatOptionsProperty formatOptions) Sets the value ofCfnTransformer.OutputConversionProperty.getFormatOptions()- Parameters:
formatOptions- A structure that contains the X12 transaction set and version for the transformer output.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTransformer.OutputConversionProperty>- Returns:
- a new instance of
CfnTransformer.OutputConversionProperty - Throws:
NullPointerException- if any required attribute was not provided
-