Class CfnTransformJob.TransformInputProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnTransformJob.TransformInputProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTransformJob.TransformInputProperty>
- Enclosing interface:
CfnTransformJob.TransformInputProperty
@Stability(Stable)
public static final class CfnTransformJob.TransformInputProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTransformJob.TransformInputProperty>
A builder for
CfnTransformJob.TransformInputProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.compressionType(String compressionType) Sets the value ofCfnTransformJob.TransformInputProperty.getCompressionType()contentType(String contentType) Sets the value ofCfnTransformJob.TransformInputProperty.getContentType()dataSource(IResolvable dataSource) Sets the value ofCfnTransformJob.TransformInputProperty.getDataSource()dataSource(CfnTransformJob.DataSourceProperty dataSource) Sets the value ofCfnTransformJob.TransformInputProperty.getDataSource()Sets the value ofCfnTransformJob.TransformInputProperty.getSplitType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dataSource
@Stability(Stable) public CfnTransformJob.TransformInputProperty.Builder dataSource(IResolvable dataSource) Sets the value ofCfnTransformJob.TransformInputProperty.getDataSource()- Parameters:
dataSource- Describes the location of the channel data. This parameter is required.- Returns:
this
-
dataSource
@Stability(Stable) public CfnTransformJob.TransformInputProperty.Builder dataSource(CfnTransformJob.DataSourceProperty dataSource) Sets the value ofCfnTransformJob.TransformInputProperty.getDataSource()- Parameters:
dataSource- Describes the location of the channel data. This parameter is required.- Returns:
this
-
compressionType
@Stability(Stable) public CfnTransformJob.TransformInputProperty.Builder compressionType(String compressionType) Sets the value ofCfnTransformJob.TransformInputProperty.getCompressionType()- Parameters:
compressionType- If your transform data is compressed, specify the compression type.- Returns:
this
-
contentType
@Stability(Stable) public CfnTransformJob.TransformInputProperty.Builder contentType(String contentType) Sets the value ofCfnTransformJob.TransformInputProperty.getContentType()- Parameters:
contentType- The multipurpose internet mail extension (MIME) type of the data.- Returns:
this
-
splitType
@Stability(Stable) public CfnTransformJob.TransformInputProperty.Builder splitType(String splitType) Sets the value ofCfnTransformJob.TransformInputProperty.getSplitType()- Parameters:
splitType- The method to use to split the transform job's data files into smaller batches.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTransformJob.TransformInputProperty>- Returns:
- a new instance of
CfnTransformJob.TransformInputProperty - Throws:
NullPointerException- if any required attribute was not provided
-