Class CfnCapability.EdiConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.b2bi.CfnCapability.EdiConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCapability.EdiConfigurationProperty>
- Enclosing interface:
CfnCapability.EdiConfigurationProperty
@Stability(Stable)
public static final class CfnCapability.EdiConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCapability.EdiConfigurationProperty>
A builder for
CfnCapability.EdiConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.capabilityDirection(String capabilityDirection) Sets the value ofCfnCapability.EdiConfigurationProperty.getCapabilityDirection()inputLocation(IResolvable inputLocation) Sets the value ofCfnCapability.EdiConfigurationProperty.getInputLocation()inputLocation(CfnCapability.S3LocationProperty inputLocation) Sets the value ofCfnCapability.EdiConfigurationProperty.getInputLocation()outputLocation(IResolvable outputLocation) Sets the value ofCfnCapability.EdiConfigurationProperty.getOutputLocation()outputLocation(CfnCapability.S3LocationProperty outputLocation) Sets the value ofCfnCapability.EdiConfigurationProperty.getOutputLocation()transformerId(String transformerId) Sets the value ofCfnCapability.EdiConfigurationProperty.getTransformerId()type(IResolvable type) Sets the value ofCfnCapability.EdiConfigurationProperty.getType()Sets the value ofCfnCapability.EdiConfigurationProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
inputLocation
@Stability(Stable) public CfnCapability.EdiConfigurationProperty.Builder inputLocation(IResolvable inputLocation) Sets the value ofCfnCapability.EdiConfigurationProperty.getInputLocation()- Parameters:
inputLocation- Contains the Amazon S3 bucket and prefix for the location of the input file, which is contained in anS3Locationobject. This parameter is required.- Returns:
this
-
inputLocation
@Stability(Stable) public CfnCapability.EdiConfigurationProperty.Builder inputLocation(CfnCapability.S3LocationProperty inputLocation) Sets the value ofCfnCapability.EdiConfigurationProperty.getInputLocation()- Parameters:
inputLocation- Contains the Amazon S3 bucket and prefix for the location of the input file, which is contained in anS3Locationobject. This parameter is required.- Returns:
this
-
outputLocation
@Stability(Stable) public CfnCapability.EdiConfigurationProperty.Builder outputLocation(IResolvable outputLocation) Sets the value ofCfnCapability.EdiConfigurationProperty.getOutputLocation()- Parameters:
outputLocation- Contains the Amazon S3 bucket and prefix for the location of the output file, which is contained in anS3Locationobject. This parameter is required.- Returns:
this
-
outputLocation
@Stability(Stable) public CfnCapability.EdiConfigurationProperty.Builder outputLocation(CfnCapability.S3LocationProperty outputLocation) Sets the value ofCfnCapability.EdiConfigurationProperty.getOutputLocation()- Parameters:
outputLocation- Contains the Amazon S3 bucket and prefix for the location of the output file, which is contained in anS3Locationobject. This parameter is required.- Returns:
this
-
transformerId
@Stability(Stable) public CfnCapability.EdiConfigurationProperty.Builder transformerId(String transformerId) Sets the value ofCfnCapability.EdiConfigurationProperty.getTransformerId()- Parameters:
transformerId- Returns the system-assigned unique identifier for the transformer. This parameter is required.- Returns:
this
-
type
Sets the value ofCfnCapability.EdiConfigurationProperty.getType()- Parameters:
type- Returns the type of the capability. This parameter is required. Currently, onlyediis supported.- Returns:
this
-
type
@Stability(Stable) public CfnCapability.EdiConfigurationProperty.Builder type(CfnCapability.EdiTypeProperty type) Sets the value ofCfnCapability.EdiConfigurationProperty.getType()- Parameters:
type- Returns the type of the capability. This parameter is required. Currently, onlyediis supported.- Returns:
this
-
capabilityDirection
@Stability(Stable) public CfnCapability.EdiConfigurationProperty.Builder capabilityDirection(String capabilityDirection) Sets the value ofCfnCapability.EdiConfigurationProperty.getCapabilityDirection()- Parameters:
capabilityDirection- Specifies whether this is capability is for inbound or outbound transformations.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCapability.EdiConfigurationProperty>- Returns:
- a new instance of
CfnCapability.EdiConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-