Interface DatasetDefinition.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DatasetDefinition.Builder,
,DatasetDefinition> SdkBuilder<DatasetDefinition.Builder,
,DatasetDefinition> SdkPojo
- Enclosing class:
DatasetDefinition
-
Method Summary
Modifier and TypeMethodDescriptiondefault DatasetDefinition.Builder
athenaDatasetDefinition
(Consumer<AthenaDatasetDefinition.Builder> athenaDatasetDefinition) Sets the value of the AthenaDatasetDefinition property for this object.athenaDatasetDefinition
(AthenaDatasetDefinition athenaDatasetDefinition) Sets the value of the AthenaDatasetDefinition property for this object.dataDistributionType
(String dataDistributionType) Whether the generated dataset isFullyReplicated
orShardedByS3Key
(default).dataDistributionType
(DataDistributionType dataDistributionType) Whether the generated dataset isFullyReplicated
orShardedByS3Key
(default).Whether to useFile
orPipe
input mode.Whether to useFile
orPipe
input mode.The local path where you want Amazon SageMaker to download the Dataset Definition inputs to run a processing job.default DatasetDefinition.Builder
redshiftDatasetDefinition
(Consumer<RedshiftDatasetDefinition.Builder> redshiftDatasetDefinition) Sets the value of the RedshiftDatasetDefinition property for this object.redshiftDatasetDefinition
(RedshiftDatasetDefinition redshiftDatasetDefinition) Sets the value of the RedshiftDatasetDefinition property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
athenaDatasetDefinition
Sets the value of the AthenaDatasetDefinition property for this object.- Parameters:
athenaDatasetDefinition
- The new value for the AthenaDatasetDefinition property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
athenaDatasetDefinition
default DatasetDefinition.Builder athenaDatasetDefinition(Consumer<AthenaDatasetDefinition.Builder> athenaDatasetDefinition) Sets the value of the AthenaDatasetDefinition property for this object. This is a convenience method that creates an instance of theAthenaDatasetDefinition.Builder
avoiding the need to create one manually viaAthenaDatasetDefinition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toathenaDatasetDefinition(AthenaDatasetDefinition)
.- Parameters:
athenaDatasetDefinition
- a consumer that will call methods onAthenaDatasetDefinition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
redshiftDatasetDefinition
DatasetDefinition.Builder redshiftDatasetDefinition(RedshiftDatasetDefinition redshiftDatasetDefinition) Sets the value of the RedshiftDatasetDefinition property for this object.- Parameters:
redshiftDatasetDefinition
- The new value for the RedshiftDatasetDefinition property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
redshiftDatasetDefinition
default DatasetDefinition.Builder redshiftDatasetDefinition(Consumer<RedshiftDatasetDefinition.Builder> redshiftDatasetDefinition) Sets the value of the RedshiftDatasetDefinition property for this object. This is a convenience method that creates an instance of theRedshiftDatasetDefinition.Builder
avoiding the need to create one manually viaRedshiftDatasetDefinition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toredshiftDatasetDefinition(RedshiftDatasetDefinition)
.- Parameters:
redshiftDatasetDefinition
- a consumer that will call methods onRedshiftDatasetDefinition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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).- 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:
- Returns a reference to this object so that method calls can be chained together.
-
dataDistributionType
Whether the generated dataset is
FullyReplicated
orShardedByS3Key
(default).- Parameters:
dataDistributionType
- Whether the generated dataset isFullyReplicated
orShardedByS3Key
(default).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataDistributionType
Whether the generated dataset is
FullyReplicated
orShardedByS3Key
(default).- Parameters:
dataDistributionType
- Whether the generated dataset isFullyReplicated
orShardedByS3Key
(default).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
inputMode
Whether to use
File
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.- 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:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
inputMode
Whether to use
File
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.- 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:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-