#[non_exhaustive]pub struct ProjectVersionDescriptionBuilder { /* private fields */ }Expand description
A builder for ProjectVersionDescription.
Implementations§
source§impl ProjectVersionDescriptionBuilder
impl ProjectVersionDescriptionBuilder
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 project 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 project version.
sourcepub fn get_project_version_arn(&self) -> &Option<String>
pub fn get_project_version_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the project 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 get_creation_timestamp(&self) -> &Option<DateTime>
pub fn get_creation_timestamp(&self) -> &Option<DateTime>
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. Applies only to Custom Labels projects. 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. Applies only to Custom Labels projects. For more information, see StartProjectVersion.
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. Applies only to Custom Labels projects. 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 get_status(&self) -> &Option<ProjectVersionStatus>
pub fn get_status(&self) -> &Option<ProjectVersionStatus>
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 get_status_message(&self) -> &Option<String>
pub fn get_status_message(&self) -> &Option<String>
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 get_billable_training_time_in_seconds(&self) -> &Option<i64>
pub fn get_billable_training_time_in_seconds(&self) -> &Option<i64>
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 get_training_end_timestamp(&self) -> &Option<DateTime>
pub fn get_training_end_timestamp(&self) -> &Option<DateTime>
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 get_output_config(&self) -> &Option<OutputConfig>
pub fn get_output_config(&self) -> &Option<OutputConfig>
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 get_training_data_result(&self) -> &Option<TrainingDataResult>
pub fn get_training_data_result(&self) -> &Option<TrainingDataResult>
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 get_testing_data_result(&self) -> &Option<TestingDataResult>
pub fn get_testing_data_result(&self) -> &Option<TestingDataResult>
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 get_evaluation_result(&self) -> &Option<EvaluationResult>
pub fn get_evaluation_result(&self) -> &Option<EvaluationResult>
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 get_manifest_summary(&self) -> &Option<GroundTruthManifest>
pub fn get_manifest_summary(&self) -> &Option<GroundTruthManifest>
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 get_kms_key_id(&self) -> &Option<String>
pub fn get_kms_key_id(&self) -> &Option<String>
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 uses to auto-scale the model. Applies only to Custom Labels projects. 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 uses to auto-scale the model. Applies only to Custom Labels projects. For more information, see StartProjectVersion.
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 Rekognition uses to auto-scale the model. Applies only to Custom Labels projects. 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 get_source_project_version_arn(&self) -> &Option<String>
pub fn get_source_project_version_arn(&self) -> &Option<String>
If the model version was copied from a different project, SourceProjectVersionArn contains the ARN of the source model version.
sourcepub fn version_description(self, input: impl Into<String>) -> Self
pub fn version_description(self, input: impl Into<String>) -> Self
A user-provided description of the project version.
sourcepub fn set_version_description(self, input: Option<String>) -> Self
pub fn set_version_description(self, input: Option<String>) -> Self
A user-provided description of the project version.
sourcepub fn get_version_description(&self) -> &Option<String>
pub fn get_version_description(&self) -> &Option<String>
A user-provided description of the project version.
sourcepub fn feature(self, input: CustomizationFeature) -> Self
pub fn feature(self, input: CustomizationFeature) -> Self
The feature that was customized.
sourcepub fn set_feature(self, input: Option<CustomizationFeature>) -> Self
pub fn set_feature(self, input: Option<CustomizationFeature>) -> Self
The feature that was customized.
sourcepub fn get_feature(&self) -> &Option<CustomizationFeature>
pub fn get_feature(&self) -> &Option<CustomizationFeature>
The feature that was customized.
sourcepub fn base_model_version(self, input: impl Into<String>) -> Self
pub fn base_model_version(self, input: impl Into<String>) -> Self
The base detection model version used to create the project version.
sourcepub fn set_base_model_version(self, input: Option<String>) -> Self
pub fn set_base_model_version(self, input: Option<String>) -> Self
The base detection model version used to create the project version.
sourcepub fn get_base_model_version(&self) -> &Option<String>
pub fn get_base_model_version(&self) -> &Option<String>
The base detection model version used to create the project version.
sourcepub fn feature_config(self, input: CustomizationFeatureConfig) -> Self
pub fn feature_config(self, input: CustomizationFeatureConfig) -> Self
Feature specific configuration that was applied during training.
sourcepub fn set_feature_config(
self,
input: Option<CustomizationFeatureConfig>
) -> Self
pub fn set_feature_config( self, input: Option<CustomizationFeatureConfig> ) -> Self
Feature specific configuration that was applied during training.
sourcepub fn get_feature_config(&self) -> &Option<CustomizationFeatureConfig>
pub fn get_feature_config(&self) -> &Option<CustomizationFeatureConfig>
Feature specific configuration that was applied during training.
sourcepub fn build(self) -> ProjectVersionDescription
pub fn build(self) -> ProjectVersionDescription
Consumes the builder and constructs a ProjectVersionDescription.
Trait Implementations§
source§impl Clone for ProjectVersionDescriptionBuilder
impl Clone for ProjectVersionDescriptionBuilder
source§fn clone(&self) -> ProjectVersionDescriptionBuilder
fn clone(&self) -> ProjectVersionDescriptionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ProjectVersionDescriptionBuilder
impl Default for ProjectVersionDescriptionBuilder
source§fn default() -> ProjectVersionDescriptionBuilder
fn default() -> ProjectVersionDescriptionBuilder
source§impl PartialEq for ProjectVersionDescriptionBuilder
impl PartialEq for ProjectVersionDescriptionBuilder
source§fn eq(&self, other: &ProjectVersionDescriptionBuilder) -> bool
fn eq(&self, other: &ProjectVersionDescriptionBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ProjectVersionDescriptionBuilder
Auto Trait Implementations§
impl Freeze for ProjectVersionDescriptionBuilder
impl RefUnwindSafe for ProjectVersionDescriptionBuilder
impl Send for ProjectVersionDescriptionBuilder
impl Sync for ProjectVersionDescriptionBuilder
impl Unpin for ProjectVersionDescriptionBuilder
impl UnwindSafe for ProjectVersionDescriptionBuilder
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> 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