#[non_exhaustive]pub struct AdditionalModelDataSource {
pub channel_name: Option<String>,
pub s3_data_source: Option<S3ModelDataSource>,
}
Expand description
Data sources that are available to your model in addition to the one that you specify for ModelDataSource
when you use the CreateModel
action.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.channel_name: Option<String>
A custom name for this AdditionalModelDataSource
object.
s3_data_source: Option<S3ModelDataSource>
Specifies the S3 location of ML model data to deploy.
Implementations§
source§impl AdditionalModelDataSource
impl AdditionalModelDataSource
sourcepub fn channel_name(&self) -> Option<&str>
pub fn channel_name(&self) -> Option<&str>
A custom name for this AdditionalModelDataSource
object.
sourcepub fn s3_data_source(&self) -> Option<&S3ModelDataSource>
pub fn s3_data_source(&self) -> Option<&S3ModelDataSource>
Specifies the S3 location of ML model data to deploy.
source§impl AdditionalModelDataSource
impl AdditionalModelDataSource
sourcepub fn builder() -> AdditionalModelDataSourceBuilder
pub fn builder() -> AdditionalModelDataSourceBuilder
Creates a new builder-style object to manufacture AdditionalModelDataSource
.
Trait Implementations§
source§impl Clone for AdditionalModelDataSource
impl Clone for AdditionalModelDataSource
source§fn clone(&self) -> AdditionalModelDataSource
fn clone(&self) -> AdditionalModelDataSource
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AdditionalModelDataSource
impl Debug for AdditionalModelDataSource
source§impl PartialEq for AdditionalModelDataSource
impl PartialEq for AdditionalModelDataSource
source§fn eq(&self, other: &AdditionalModelDataSource) -> bool
fn eq(&self, other: &AdditionalModelDataSource) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AdditionalModelDataSource
Auto Trait Implementations§
impl Freeze for AdditionalModelDataSource
impl RefUnwindSafe for AdditionalModelDataSource
impl Send for AdditionalModelDataSource
impl Sync for AdditionalModelDataSource
impl Unpin for AdditionalModelDataSource
impl UnwindSafe for AdditionalModelDataSource
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.