Struct aws_sdk_sagemaker::model::channel_specification::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for ChannelSpecification
Implementations
sourceimpl Builder
impl Builder
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A brief description of the channel.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A brief description of the channel.
sourcepub fn is_required(self, input: bool) -> Self
pub fn is_required(self, input: bool) -> Self
Indicates whether the channel is required by the algorithm.
sourcepub fn set_is_required(self, input: Option<bool>) -> Self
pub fn set_is_required(self, input: Option<bool>) -> Self
Indicates whether the channel is required by the algorithm.
sourcepub fn supported_content_types(self, input: impl Into<String>) -> Self
pub fn supported_content_types(self, input: impl Into<String>) -> Self
Appends an item to supported_content_types
.
To override the contents of this collection use set_supported_content_types
.
The supported MIME types for the data.
sourcepub fn set_supported_content_types(self, input: Option<Vec<String>>) -> Self
pub fn set_supported_content_types(self, input: Option<Vec<String>>) -> Self
The supported MIME types for the data.
sourcepub fn supported_compression_types(self, input: CompressionType) -> Self
pub fn supported_compression_types(self, input: CompressionType) -> Self
Appends an item to supported_compression_types
.
To override the contents of this collection use set_supported_compression_types
.
The allowed compression types, if data compression is used.
sourcepub fn set_supported_compression_types(
self,
input: Option<Vec<CompressionType>>
) -> Self
pub fn set_supported_compression_types(
self,
input: Option<Vec<CompressionType>>
) -> Self
The allowed compression types, if data compression is used.
sourcepub fn supported_input_modes(self, input: TrainingInputMode) -> Self
pub fn supported_input_modes(self, input: TrainingInputMode) -> Self
Appends an item to supported_input_modes
.
To override the contents of this collection use set_supported_input_modes
.
The allowed input mode, either FILE or PIPE.
In FILE 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_supported_input_modes(
self,
input: Option<Vec<TrainingInputMode>>
) -> Self
pub fn set_supported_input_modes(
self,
input: Option<Vec<TrainingInputMode>>
) -> Self
The allowed input mode, either FILE or PIPE.
In FILE 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) -> ChannelSpecification
pub fn build(self) -> ChannelSpecification
Consumes the builder and constructs a ChannelSpecification
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