Class CfnProcessingJob.DatasetDefinitionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnProcessingJob.DatasetDefinitionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnProcessingJob.DatasetDefinitionProperty>
- Enclosing interface:
CfnProcessingJob.DatasetDefinitionProperty
@Stability(Stable)
public static final class CfnProcessingJob.DatasetDefinitionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnProcessingJob.DatasetDefinitionProperty>
A builder for
CfnProcessingJob.DatasetDefinitionProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionathenaDatasetDefinition
(IResolvable athenaDatasetDefinition) Sets the value ofCfnProcessingJob.DatasetDefinitionProperty.getAthenaDatasetDefinition()
athenaDatasetDefinition
(CfnProcessingJob.AthenaDatasetDefinitionProperty athenaDatasetDefinition) Sets the value ofCfnProcessingJob.DatasetDefinitionProperty.getAthenaDatasetDefinition()
build()
Builds the configured instance.dataDistributionType
(String dataDistributionType) Sets the value ofCfnProcessingJob.DatasetDefinitionProperty.getDataDistributionType()
Sets the value ofCfnProcessingJob.DatasetDefinitionProperty.getInputMode()
Sets the value ofCfnProcessingJob.DatasetDefinitionProperty.getLocalPath()
redshiftDatasetDefinition
(IResolvable redshiftDatasetDefinition) redshiftDatasetDefinition
(CfnProcessingJob.RedshiftDatasetDefinitionProperty redshiftDatasetDefinition)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
athenaDatasetDefinition
@Stability(Stable) public CfnProcessingJob.DatasetDefinitionProperty.Builder athenaDatasetDefinition(IResolvable athenaDatasetDefinition) Sets the value ofCfnProcessingJob.DatasetDefinitionProperty.getAthenaDatasetDefinition()
- Parameters:
athenaDatasetDefinition
- Configuration for Athena Dataset Definition input.- Returns:
this
-
athenaDatasetDefinition
@Stability(Stable) public CfnProcessingJob.DatasetDefinitionProperty.Builder athenaDatasetDefinition(CfnProcessingJob.AthenaDatasetDefinitionProperty athenaDatasetDefinition) Sets the value ofCfnProcessingJob.DatasetDefinitionProperty.getAthenaDatasetDefinition()
- Parameters:
athenaDatasetDefinition
- Configuration for Athena Dataset Definition input.- Returns:
this
-
dataDistributionType
@Stability(Stable) public CfnProcessingJob.DatasetDefinitionProperty.Builder dataDistributionType(String dataDistributionType) Sets the value ofCfnProcessingJob.DatasetDefinitionProperty.getDataDistributionType()
- Parameters:
dataDistributionType
- Whether the generated dataset isFullyReplicated
orShardedByS3Key
(default).- Returns:
this
-
inputMode
@Stability(Stable) public CfnProcessingJob.DatasetDefinitionProperty.Builder inputMode(String inputMode) Sets the value ofCfnProcessingJob.DatasetDefinitionProperty.getInputMode()
- Parameters:
inputMode
- Whether to useFile
orPipe
input mode. InFile
(default) mode, Amazon SageMaker copies the data from the input source onto the local Amazon Elastic Block Store (Amazon EBS) volumes before starting your training algorithm. This is the most commonly used input mode. InPipe
mode, Amazon SageMaker streams input data from the source directly to your algorithm without using the EBS volume.- Returns:
this
-
localPath
@Stability(Stable) public CfnProcessingJob.DatasetDefinitionProperty.Builder localPath(String localPath) Sets the value ofCfnProcessingJob.DatasetDefinitionProperty.getLocalPath()
- Parameters:
localPath
- The local path where you want Amazon SageMaker to download the Dataset Definition inputs to run a processing job.LocalPath
is an absolute path to the input data. This is a required parameter whenAppManaged
isFalse
(default).- Returns:
this
-
redshiftDatasetDefinition
@Stability(Stable) public CfnProcessingJob.DatasetDefinitionProperty.Builder redshiftDatasetDefinition(IResolvable redshiftDatasetDefinition) - Parameters:
redshiftDatasetDefinition
- Configuration for Redshift Dataset Definition input.- Returns:
this
-
redshiftDatasetDefinition
@Stability(Stable) public CfnProcessingJob.DatasetDefinitionProperty.Builder redshiftDatasetDefinition(CfnProcessingJob.RedshiftDatasetDefinitionProperty redshiftDatasetDefinition) - Parameters:
redshiftDatasetDefinition
- Configuration for Redshift Dataset Definition input.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnProcessingJob.DatasetDefinitionProperty>
- Returns:
- a new instance of
CfnProcessingJob.DatasetDefinitionProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-