Struct aws_sdk_sagemaker::model::dataset_definition::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for DatasetDefinition
Implementations
sourceimpl 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
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more