Struct aws_sdk_lookoutvision::types::builders::ModelMetadataBuilder
source · #[non_exhaustive]pub struct ModelMetadataBuilder { /* private fields */ }Expand description
A builder for ModelMetadata.
Implementations§
source§impl ModelMetadataBuilder
impl ModelMetadataBuilder
sourcepub fn creation_timestamp(self, input: DateTime) -> Self
pub fn creation_timestamp(self, input: DateTime) -> Self
The unix timestamp for the date and time that the model was created.
sourcepub fn set_creation_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_creation_timestamp(self, input: Option<DateTime>) -> Self
The unix timestamp for the date and time that the model was created.
sourcepub fn get_creation_timestamp(&self) -> &Option<DateTime>
pub fn get_creation_timestamp(&self) -> &Option<DateTime>
The unix timestamp for the date and time that the model was created.
sourcepub fn model_version(self, input: impl Into<String>) -> Self
pub fn model_version(self, input: impl Into<String>) -> Self
The version of the model.
sourcepub fn set_model_version(self, input: Option<String>) -> Self
pub fn set_model_version(self, input: Option<String>) -> Self
The version of the model.
sourcepub fn get_model_version(&self) -> &Option<String>
pub fn get_model_version(&self) -> &Option<String>
The version of the model.
sourcepub fn model_arn(self, input: impl Into<String>) -> Self
pub fn model_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the model.
sourcepub fn set_model_arn(self, input: Option<String>) -> Self
pub fn set_model_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the model.
sourcepub fn get_model_arn(&self) -> &Option<String>
pub fn get_model_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the model.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description for the model.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description for the model.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description for the model.
sourcepub fn status(self, input: ModelStatus) -> Self
pub fn status(self, input: ModelStatus) -> Self
The status of the model.
sourcepub fn set_status(self, input: Option<ModelStatus>) -> Self
pub fn set_status(self, input: Option<ModelStatus>) -> Self
The status of the model.
sourcepub fn get_status(&self) -> &Option<ModelStatus>
pub fn get_status(&self) -> &Option<ModelStatus>
The status of the model.
sourcepub fn status_message(self, input: impl Into<String>) -> Self
pub fn status_message(self, input: impl Into<String>) -> Self
The status message for the model.
sourcepub fn set_status_message(self, input: Option<String>) -> Self
pub fn set_status_message(self, input: Option<String>) -> Self
The status message for the model.
sourcepub fn get_status_message(&self) -> &Option<String>
pub fn get_status_message(&self) -> &Option<String>
The status message for the model.
sourcepub fn performance(self, input: ModelPerformance) -> Self
pub fn performance(self, input: ModelPerformance) -> Self
Performance metrics for the model. Not available until training has successfully completed.
sourcepub fn set_performance(self, input: Option<ModelPerformance>) -> Self
pub fn set_performance(self, input: Option<ModelPerformance>) -> Self
Performance metrics for the model. Not available until training has successfully completed.
sourcepub fn get_performance(&self) -> &Option<ModelPerformance>
pub fn get_performance(&self) -> &Option<ModelPerformance>
Performance metrics for the model. Not available until training has successfully completed.
sourcepub fn build(self) -> ModelMetadata
pub fn build(self) -> ModelMetadata
Consumes the builder and constructs a ModelMetadata.
Trait Implementations§
source§impl Clone for ModelMetadataBuilder
impl Clone for ModelMetadataBuilder
source§fn clone(&self) -> ModelMetadataBuilder
fn clone(&self) -> ModelMetadataBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ModelMetadataBuilder
impl Debug for ModelMetadataBuilder
source§impl Default for ModelMetadataBuilder
impl Default for ModelMetadataBuilder
source§fn default() -> ModelMetadataBuilder
fn default() -> ModelMetadataBuilder
source§impl PartialEq for ModelMetadataBuilder
impl PartialEq for ModelMetadataBuilder
impl StructuralPartialEq for ModelMetadataBuilder
Auto Trait Implementations§
impl Freeze for ModelMetadataBuilder
impl RefUnwindSafe for ModelMetadataBuilder
impl Send for ModelMetadataBuilder
impl Sync for ModelMetadataBuilder
impl Unpin for ModelMetadataBuilder
impl UnwindSafe for ModelMetadataBuilder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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