Struct aws_sdk_sagemaker::model::dataset_definition::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for DatasetDefinition
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn athena_dataset_definition(self, input: AthenaDatasetDefinition) -> Self
pub fn athena_dataset_definition(self, input: AthenaDatasetDefinition) -> Self
Configuration for Athena Dataset Definition input.
sourcepub fn set_athena_dataset_definition(
self,
input: Option<AthenaDatasetDefinition>
) -> Self
pub fn set_athena_dataset_definition(
self,
input: Option<AthenaDatasetDefinition>
) -> Self
Configuration for Athena Dataset Definition input.
sourcepub fn redshift_dataset_definition(
self,
input: RedshiftDatasetDefinition
) -> Self
pub fn redshift_dataset_definition(
self,
input: RedshiftDatasetDefinition
) -> Self
Configuration for Redshift Dataset Definition input.
sourcepub fn set_redshift_dataset_definition(
self,
input: Option<RedshiftDatasetDefinition>
) -> Self
pub fn set_redshift_dataset_definition(
self,
input: Option<RedshiftDatasetDefinition>
) -> Self
Configuration for Redshift Dataset Definition input.
sourcepub fn local_path(self, input: impl Into<String>) -> Self
pub fn local_path(self, input: impl Into<String>) -> Self
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 when AppManaged
is False
(default).
sourcepub fn set_local_path(self, input: Option<String>) -> Self
pub fn set_local_path(self, input: Option<String>) -> Self
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 when AppManaged
is False
(default).
sourcepub fn data_distribution_type(self, input: DataDistributionType) -> Self
pub fn data_distribution_type(self, input: DataDistributionType) -> Self
Whether the generated dataset is FullyReplicated
or ShardedByS3Key
(default).
sourcepub fn set_data_distribution_type(
self,
input: Option<DataDistributionType>
) -> Self
pub fn set_data_distribution_type(
self,
input: Option<DataDistributionType>
) -> Self
Whether the generated dataset is FullyReplicated
or ShardedByS3Key
(default).
sourcepub fn input_mode(self, input: InputMode) -> Self
pub fn input_mode(self, input: InputMode) -> Self
Whether to use File
or Pipe
input mode. In File
(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. In Pipe
mode, Amazon SageMaker streams input data from the source directly to your algorithm without using the EBS volume.
sourcepub fn set_input_mode(self, input: Option<InputMode>) -> Self
pub fn set_input_mode(self, input: Option<InputMode>) -> Self
Whether to use File
or Pipe
input mode. In File
(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. In Pipe
mode, Amazon SageMaker streams input data from the source directly to your algorithm without using the EBS volume.
sourcepub fn build(self) -> DatasetDefinition
pub fn build(self) -> DatasetDefinition
Consumes the builder and constructs a DatasetDefinition
.