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
source§fn eq(&self, other: &ModelMetadataBuilder) -> bool
fn eq(&self, other: &ModelMetadataBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.