Struct aws_sdk_sagemaker::types::builders::EdgeModelStatBuilder
source · #[non_exhaustive]pub struct EdgeModelStatBuilder { /* private fields */ }
Expand description
A builder for EdgeModelStat
.
Implementations§
source§impl EdgeModelStatBuilder
impl EdgeModelStatBuilder
sourcepub fn model_name(self, input: impl Into<String>) -> Self
pub fn model_name(self, input: impl Into<String>) -> Self
The name of the model.
This field is required.sourcepub fn set_model_name(self, input: Option<String>) -> Self
pub fn set_model_name(self, input: Option<String>) -> Self
The name of the model.
sourcepub fn get_model_name(&self) -> &Option<String>
pub fn get_model_name(&self) -> &Option<String>
The name of the model.
sourcepub fn model_version(self, input: impl Into<String>) -> Self
pub fn model_version(self, input: impl Into<String>) -> Self
The model version.
This field is required.sourcepub fn set_model_version(self, input: Option<String>) -> Self
pub fn set_model_version(self, input: Option<String>) -> Self
The model version.
sourcepub fn get_model_version(&self) -> &Option<String>
pub fn get_model_version(&self) -> &Option<String>
The model version.
sourcepub fn offline_device_count(self, input: i64) -> Self
pub fn offline_device_count(self, input: i64) -> Self
The number of devices that have this model version and do not have a heart beat.
This field is required.sourcepub fn set_offline_device_count(self, input: Option<i64>) -> Self
pub fn set_offline_device_count(self, input: Option<i64>) -> Self
The number of devices that have this model version and do not have a heart beat.
sourcepub fn get_offline_device_count(&self) -> &Option<i64>
pub fn get_offline_device_count(&self) -> &Option<i64>
The number of devices that have this model version and do not have a heart beat.
sourcepub fn connected_device_count(self, input: i64) -> Self
pub fn connected_device_count(self, input: i64) -> Self
The number of devices that have this model version and have a heart beat.
This field is required.sourcepub fn set_connected_device_count(self, input: Option<i64>) -> Self
pub fn set_connected_device_count(self, input: Option<i64>) -> Self
The number of devices that have this model version and have a heart beat.
sourcepub fn get_connected_device_count(&self) -> &Option<i64>
pub fn get_connected_device_count(&self) -> &Option<i64>
The number of devices that have this model version and have a heart beat.
sourcepub fn active_device_count(self, input: i64) -> Self
pub fn active_device_count(self, input: i64) -> Self
The number of devices that have this model version, a heart beat, and are currently running.
This field is required.sourcepub fn set_active_device_count(self, input: Option<i64>) -> Self
pub fn set_active_device_count(self, input: Option<i64>) -> Self
The number of devices that have this model version, a heart beat, and are currently running.
sourcepub fn get_active_device_count(&self) -> &Option<i64>
pub fn get_active_device_count(&self) -> &Option<i64>
The number of devices that have this model version, a heart beat, and are currently running.
sourcepub fn sampling_device_count(self, input: i64) -> Self
pub fn sampling_device_count(self, input: i64) -> Self
The number of devices with this model version and are producing sample data.
This field is required.sourcepub fn set_sampling_device_count(self, input: Option<i64>) -> Self
pub fn set_sampling_device_count(self, input: Option<i64>) -> Self
The number of devices with this model version and are producing sample data.
sourcepub fn get_sampling_device_count(&self) -> &Option<i64>
pub fn get_sampling_device_count(&self) -> &Option<i64>
The number of devices with this model version and are producing sample data.
sourcepub fn build(self) -> EdgeModelStat
pub fn build(self) -> EdgeModelStat
Consumes the builder and constructs a EdgeModelStat
.
Trait Implementations§
source§impl Clone for EdgeModelStatBuilder
impl Clone for EdgeModelStatBuilder
source§fn clone(&self) -> EdgeModelStatBuilder
fn clone(&self) -> EdgeModelStatBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EdgeModelStatBuilder
impl Debug for EdgeModelStatBuilder
source§impl Default for EdgeModelStatBuilder
impl Default for EdgeModelStatBuilder
source§fn default() -> EdgeModelStatBuilder
fn default() -> EdgeModelStatBuilder
source§impl PartialEq for EdgeModelStatBuilder
impl PartialEq for EdgeModelStatBuilder
impl StructuralPartialEq for EdgeModelStatBuilder
Auto Trait Implementations§
impl Freeze for EdgeModelStatBuilder
impl RefUnwindSafe for EdgeModelStatBuilder
impl Send for EdgeModelStatBuilder
impl Sync for EdgeModelStatBuilder
impl Unpin for EdgeModelStatBuilder
impl UnwindSafe for EdgeModelStatBuilder
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
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)
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>
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>
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 more