pub struct Builder { /* private fields */ }Expand description
A builder for ProjectVersionDescription.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn project_version_arn(self, input: impl Into<String>) -> Self
pub fn project_version_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the model version.
sourcepub fn set_project_version_arn(self, input: Option<String>) -> Self
pub fn set_project_version_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the model version.
sourcepub fn creation_timestamp(self, input: DateTime) -> Self
pub fn creation_timestamp(self, input: DateTime) -> Self
The Unix datetime for the date and time that training started.
sourcepub fn set_creation_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_creation_timestamp(self, input: Option<DateTime>) -> Self
The Unix datetime for the date and time that training started.
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 StartProjectVersion.
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 StartProjectVersion.
sourcepub fn status(self, input: ProjectVersionStatus) -> Self
pub fn status(self, input: ProjectVersionStatus) -> Self
The current status of the model version.
sourcepub fn set_status(self, input: Option<ProjectVersionStatus>) -> Self
pub fn set_status(self, input: Option<ProjectVersionStatus>) -> Self
The current status of the model version.
sourcepub fn status_message(self, input: impl Into<String>) -> Self
pub fn status_message(self, input: impl Into<String>) -> Self
A descriptive message for an error or warning that occurred.
sourcepub fn set_status_message(self, input: Option<String>) -> Self
pub fn set_status_message(self, input: Option<String>) -> Self
A descriptive message for an error or warning that occurred.
sourcepub fn billable_training_time_in_seconds(self, input: i64) -> Self
pub fn billable_training_time_in_seconds(self, input: i64) -> Self
The duration, in seconds, that you were billed for a successful training of the model version. This value is only returned if the model version has been successfully trained.
sourcepub fn set_billable_training_time_in_seconds(self, input: Option<i64>) -> Self
pub fn set_billable_training_time_in_seconds(self, input: Option<i64>) -> Self
The duration, in seconds, that you were billed for a successful training of the model version. This value is only returned if the model version has been successfully trained.
sourcepub fn training_end_timestamp(self, input: DateTime) -> Self
pub fn training_end_timestamp(self, input: DateTime) -> Self
The Unix date and time that training of the model ended.
sourcepub fn set_training_end_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_training_end_timestamp(self, input: Option<DateTime>) -> Self
The Unix date and time that training of the model ended.
sourcepub fn output_config(self, input: OutputConfig) -> Self
pub fn output_config(self, input: OutputConfig) -> Self
The location where training results are saved.
sourcepub fn set_output_config(self, input: Option<OutputConfig>) -> Self
pub fn set_output_config(self, input: Option<OutputConfig>) -> Self
The location where training results are saved.
sourcepub fn training_data_result(self, input: TrainingDataResult) -> Self
pub fn training_data_result(self, input: TrainingDataResult) -> Self
Contains information about the training results.
sourcepub fn set_training_data_result(self, input: Option<TrainingDataResult>) -> Self
pub fn set_training_data_result(self, input: Option<TrainingDataResult>) -> Self
Contains information about the training results.
sourcepub fn testing_data_result(self, input: TestingDataResult) -> Self
pub fn testing_data_result(self, input: TestingDataResult) -> Self
Contains information about the testing results.
sourcepub fn set_testing_data_result(self, input: Option<TestingDataResult>) -> Self
pub fn set_testing_data_result(self, input: Option<TestingDataResult>) -> Self
Contains information about the testing results.
sourcepub fn evaluation_result(self, input: EvaluationResult) -> Self
pub fn evaluation_result(self, input: EvaluationResult) -> Self
The training results. EvaluationResult is only returned if training is successful.
sourcepub fn set_evaluation_result(self, input: Option<EvaluationResult>) -> Self
pub fn set_evaluation_result(self, input: Option<EvaluationResult>) -> Self
The training results. EvaluationResult is only returned if training is successful.
sourcepub fn manifest_summary(self, input: GroundTruthManifest) -> Self
pub fn manifest_summary(self, input: GroundTruthManifest) -> Self
The location of the summary manifest. The summary manifest provides aggregate data validation results for the training and test datasets.
sourcepub fn set_manifest_summary(self, input: Option<GroundTruthManifest>) -> Self
pub fn set_manifest_summary(self, input: Option<GroundTruthManifest>) -> Self
The location of the summary manifest. The summary manifest provides aggregate data validation results for the training and test datasets.
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 key (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 key (AWS KMS key) that was used to encrypt the model during training.
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 Rekognition Custom Labels uses to auto-scale the model. For more information, see StartProjectVersion.
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 Rekognition Custom Labels uses to auto-scale the model. For more information, see StartProjectVersion.
sourcepub fn source_project_version_arn(self, input: impl Into<String>) -> Self
pub fn source_project_version_arn(self, input: impl Into<String>) -> Self
If the model version was copied from a different project, SourceProjectVersionArn contains the ARN of the source model version.
sourcepub fn set_source_project_version_arn(self, input: Option<String>) -> Self
pub fn set_source_project_version_arn(self, input: Option<String>) -> Self
If the model version was copied from a different project, SourceProjectVersionArn contains the ARN of the source model version.
sourcepub fn build(self) -> ProjectVersionDescription
pub fn build(self) -> ProjectVersionDescription
Consumes the builder and constructs a ProjectVersionDescription.