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.BuilderathenaDatasetDefinition(Consumer<AthenaDatasetDefinition.Builder> athenaDatasetDefinition)Sets the value of the AthenaDatasetDefinition property for this object.DatasetDefinition.BuilderathenaDatasetDefinition(AthenaDatasetDefinition athenaDatasetDefinition)Sets the value of the AthenaDatasetDefinition property for this object.DatasetDefinition.BuilderdataDistributionType(String dataDistributionType)Whether the generated dataset isFullyReplicatedorShardedByS3Key(default).DatasetDefinition.BuilderdataDistributionType(DataDistributionType dataDistributionType)Whether the generated dataset isFullyReplicatedorShardedByS3Key(default).DatasetDefinition.BuilderinputMode(String inputMode)Whether to useFileorPipeinput mode.DatasetDefinition.BuilderinputMode(InputMode inputMode)Whether to useFileorPipeinput mode.DatasetDefinition.BuilderlocalPath(String localPath)The local path where you want Amazon SageMaker to download the Dataset Definition inputs to run a processing job.default DatasetDefinition.BuilderredshiftDatasetDefinition(Consumer<RedshiftDatasetDefinition.Builder> redshiftDatasetDefinition)Sets the value of the RedshiftDatasetDefinition property for this object.DatasetDefinition.BuilderredshiftDatasetDefinition(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.Builderavoiding the need to create one manually viaAthenaDatasetDefinition.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaRedshiftDatasetDefinition.builder().When the
Consumercompletes,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.
LocalPathis an absolute path to the input data. This is a required parameter whenAppManagedisFalse(default).- Parameters:
localPath- The local path where you want Amazon SageMaker to download the Dataset Definition inputs to run a processing job.LocalPathis an absolute path to the input data. This is a required parameter whenAppManagedisFalse(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
FullyReplicatedorShardedByS3Key(default).- Parameters:
dataDistributionType- Whether the generated dataset isFullyReplicatedorShardedByS3Key(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
FullyReplicatedorShardedByS3Key(default).- Parameters:
dataDistributionType- Whether the generated dataset isFullyReplicatedorShardedByS3Key(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
FileorPipeinput 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. InPipemode, Amazon SageMaker streams input data from the source directly to your algorithm without using the EBS volume.- Parameters:
inputMode- Whether to useFileorPipeinput 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. InPipemode, 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
FileorPipeinput 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. InPipemode, Amazon SageMaker streams input data from the source directly to your algorithm without using the EBS volume.- Parameters:
inputMode- Whether to useFileorPipeinput 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. InPipemode, 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
-
-