Interface DatasetDefinition.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<DatasetDefinition.Builder,DatasetDefinition>
,SdkBuilder<DatasetDefinition.Builder,DatasetDefinition>
,SdkPojo
- Enclosing class:
- DatasetDefinition
public static interface DatasetDefinition.Builder extends SdkPojo, CopyableBuilder<DatasetDefinition.Builder,DatasetDefinition>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DatasetDefinition.Builder
athenaDatasetDefinition(Consumer<AthenaDatasetDefinition.Builder> athenaDatasetDefinition)
Sets the value of the AthenaDatasetDefinition property for this object.DatasetDefinition.Builder
athenaDatasetDefinition(AthenaDatasetDefinition athenaDatasetDefinition)
Sets the value of the AthenaDatasetDefinition property for this object.DatasetDefinition.Builder
dataDistributionType(String dataDistributionType)
Whether the generated dataset isFullyReplicated
orShardedByS3Key
(default).DatasetDefinition.Builder
dataDistributionType(DataDistributionType dataDistributionType)
Whether the generated dataset isFullyReplicated
orShardedByS3Key
(default).DatasetDefinition.Builder
inputMode(String inputMode)
Whether to useFile
orPipe
input mode.DatasetDefinition.Builder
inputMode(InputMode inputMode)
Whether to useFile
orPipe
input mode.DatasetDefinition.Builder
localPath(String localPath)
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.DatasetDefinition.Builder
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 Detail
-
athenaDatasetDefinition
DatasetDefinition.Builder athenaDatasetDefinition(AthenaDatasetDefinition 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:
athenaDatasetDefinition(AthenaDatasetDefinition)
-
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:
redshiftDatasetDefinition(RedshiftDatasetDefinition)
-
localPath
DatasetDefinition.Builder localPath(String 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
DatasetDefinition.Builder dataDistributionType(String 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
,DataDistributionType
-
dataDistributionType
DatasetDefinition.Builder dataDistributionType(DataDistributionType 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
,DataDistributionType
-
inputMode
DatasetDefinition.Builder inputMode(String 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
,InputMode
-
inputMode
DatasetDefinition.Builder inputMode(InputMode 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
,InputMode
-
-