#[non_exhaustive]pub struct ModelDescriptionBuilder { /* private fields */ }Expand description
A builder for ModelDescription.
Implementations§
source§impl ModelDescriptionBuilder
impl ModelDescriptionBuilder
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 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 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. Created during training.
sourcepub fn set_performance(self, input: Option<ModelPerformance>) -> Self
pub fn set_performance(self, input: Option<ModelPerformance>) -> Self
Performance metrics for the model. Created during training.
sourcepub fn get_performance(&self) -> &Option<ModelPerformance>
pub fn get_performance(&self) -> &Option<ModelPerformance>
Performance metrics for the model. Created during training.
sourcepub fn output_config(self, input: OutputConfig) -> Self
pub fn output_config(self, input: OutputConfig) -> Self
The S3 location where Amazon Lookout for Vision saves model training files.
sourcepub fn set_output_config(self, input: Option<OutputConfig>) -> Self
pub fn set_output_config(self, input: Option<OutputConfig>) -> Self
The S3 location where Amazon Lookout for Vision saves model training files.
sourcepub fn get_output_config(&self) -> &Option<OutputConfig>
pub fn get_output_config(&self) -> &Option<OutputConfig>
The S3 location where Amazon Lookout for Vision saves model training files.
sourcepub fn evaluation_manifest(self, input: OutputS3Object) -> Self
pub fn evaluation_manifest(self, input: OutputS3Object) -> Self
The S3 location where Amazon Lookout for Vision saves the manifest file that was used to test the trained model and generate the performance scores.
sourcepub fn set_evaluation_manifest(self, input: Option<OutputS3Object>) -> Self
pub fn set_evaluation_manifest(self, input: Option<OutputS3Object>) -> Self
The S3 location where Amazon Lookout for Vision saves the manifest file that was used to test the trained model and generate the performance scores.
sourcepub fn get_evaluation_manifest(&self) -> &Option<OutputS3Object>
pub fn get_evaluation_manifest(&self) -> &Option<OutputS3Object>
The S3 location where Amazon Lookout for Vision saves the manifest file that was used to test the trained model and generate the performance scores.
sourcepub fn evaluation_result(self, input: OutputS3Object) -> Self
pub fn evaluation_result(self, input: OutputS3Object) -> Self
The S3 location where Amazon Lookout for Vision saves the performance metrics.
sourcepub fn set_evaluation_result(self, input: Option<OutputS3Object>) -> Self
pub fn set_evaluation_result(self, input: Option<OutputS3Object>) -> Self
The S3 location where Amazon Lookout for Vision saves the performance metrics.
sourcepub fn get_evaluation_result(&self) -> &Option<OutputS3Object>
pub fn get_evaluation_result(&self) -> &Option<OutputS3Object>
The S3 location where Amazon Lookout for Vision saves the performance metrics.
sourcepub fn evaluation_end_timestamp(self, input: DateTime) -> Self
pub fn evaluation_end_timestamp(self, input: DateTime) -> Self
The unix timestamp for the date and time that the evaluation ended.
sourcepub fn set_evaluation_end_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_evaluation_end_timestamp(self, input: Option<DateTime>) -> Self
The unix timestamp for the date and time that the evaluation ended.
sourcepub fn get_evaluation_end_timestamp(&self) -> &Option<DateTime>
pub fn get_evaluation_end_timestamp(&self) -> &Option<DateTime>
The unix timestamp for the date and time that the evaluation ended.
sourcepub fn kms_key_id(self, input: impl Into<String>) -> Self
pub fn kms_key_id(self, input: impl Into<String>) -> Self
The identifer for the AWS Key Management Service (AWS KMS) key that was used to encrypt the model during training.
sourcepub fn set_kms_key_id(self, input: Option<String>) -> Self
pub fn set_kms_key_id(self, input: Option<String>) -> Self
The identifer for the AWS Key Management Service (AWS KMS) key that was used to encrypt the model during training.
sourcepub fn get_kms_key_id(&self) -> &Option<String>
pub fn get_kms_key_id(&self) -> &Option<String>
The identifer for the AWS Key Management Service (AWS KMS) key that was used to encrypt the model during training.
sourcepub fn min_inference_units(self, input: i32) -> Self
pub fn min_inference_units(self, input: i32) -> Self
The minimum number of inference units used by the model. For more information, see StartModel
sourcepub fn set_min_inference_units(self, input: Option<i32>) -> Self
pub fn set_min_inference_units(self, input: Option<i32>) -> Self
The minimum number of inference units used by the model. For more information, see StartModel
sourcepub fn get_min_inference_units(&self) -> &Option<i32>
pub fn get_min_inference_units(&self) -> &Option<i32>
The minimum number of inference units used by the model. For more information, see StartModel
sourcepub fn max_inference_units(self, input: i32) -> Self
pub fn max_inference_units(self, input: i32) -> Self
The maximum number of inference units Amazon Lookout for Vision uses to auto-scale the model. For more information, see StartModel.
sourcepub fn set_max_inference_units(self, input: Option<i32>) -> Self
pub fn set_max_inference_units(self, input: Option<i32>) -> Self
The maximum number of inference units Amazon Lookout for Vision uses to auto-scale the model. For more information, see StartModel.
sourcepub fn get_max_inference_units(&self) -> &Option<i32>
pub fn get_max_inference_units(&self) -> &Option<i32>
The maximum number of inference units Amazon Lookout for Vision uses to auto-scale the model. For more information, see StartModel.
sourcepub fn build(self) -> ModelDescription
pub fn build(self) -> ModelDescription
Consumes the builder and constructs a ModelDescription.
Trait Implementations§
source§impl Clone for ModelDescriptionBuilder
impl Clone for ModelDescriptionBuilder
source§fn clone(&self) -> ModelDescriptionBuilder
fn clone(&self) -> ModelDescriptionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ModelDescriptionBuilder
impl Debug for ModelDescriptionBuilder
source§impl Default for ModelDescriptionBuilder
impl Default for ModelDescriptionBuilder
source§fn default() -> ModelDescriptionBuilder
fn default() -> ModelDescriptionBuilder
source§impl PartialEq for ModelDescriptionBuilder
impl PartialEq for ModelDescriptionBuilder
source§fn eq(&self, other: &ModelDescriptionBuilder) -> bool
fn eq(&self, other: &ModelDescriptionBuilder) -> bool
self and other values to be equal, and is used
by ==.