#[non_exhaustive]
pub struct ProjectVersionDescriptionBuilder { /* private fields */ }
Expand description

Implementations§

source§

impl ProjectVersionDescriptionBuilder

source

pub fn project_version_arn(self, input: impl Into<String>) -> Self

The Amazon Resource Name (ARN) of the project version.

source

pub fn set_project_version_arn(self, input: Option<String>) -> Self

The Amazon Resource Name (ARN) of the project version.

source

pub fn get_project_version_arn(&self) -> &Option<String>

The Amazon Resource Name (ARN) of the project version.

source

pub fn creation_timestamp(self, input: DateTime) -> Self

The Unix datetime for the date and time that training started.

source

pub fn set_creation_timestamp(self, input: Option<DateTime>) -> Self

The Unix datetime for the date and time that training started.

source

pub fn get_creation_timestamp(&self) -> &Option<DateTime>

The Unix datetime for the date and time that training started.

source

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.

source

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.

source

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.

source

pub fn status(self, input: ProjectVersionStatus) -> Self

The current status of the model version.

source

pub fn set_status(self, input: Option<ProjectVersionStatus>) -> Self

The current status of the model version.

source

pub fn get_status(&self) -> &Option<ProjectVersionStatus>

The current status of the model version.

source

pub fn status_message(self, input: impl Into<String>) -> Self

A descriptive message for an error or warning that occurred.

source

pub fn set_status_message(self, input: Option<String>) -> Self

A descriptive message for an error or warning that occurred.

source

pub fn get_status_message(&self) -> &Option<String>

A descriptive message for an error or warning that occurred.

source

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.

source

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.

source

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.

source

pub fn training_end_timestamp(self, input: DateTime) -> Self

The Unix date and time that training of the model ended.

source

pub fn set_training_end_timestamp(self, input: Option<DateTime>) -> Self

The Unix date and time that training of the model ended.

source

pub fn get_training_end_timestamp(&self) -> &Option<DateTime>

The Unix date and time that training of the model ended.

source

pub fn output_config(self, input: OutputConfig) -> Self

The location where training results are saved.

source

pub fn set_output_config(self, input: Option<OutputConfig>) -> Self

The location where training results are saved.

source

pub fn get_output_config(&self) -> &Option<OutputConfig>

The location where training results are saved.

source

pub fn training_data_result(self, input: TrainingDataResult) -> Self

Contains information about the training results.

source

pub fn set_training_data_result(self, input: Option<TrainingDataResult>) -> Self

Contains information about the training results.

source

pub fn get_training_data_result(&self) -> &Option<TrainingDataResult>

Contains information about the training results.

source

pub fn testing_data_result(self, input: TestingDataResult) -> Self

Contains information about the testing results.

source

pub fn set_testing_data_result(self, input: Option<TestingDataResult>) -> Self

Contains information about the testing results.

source

pub fn get_testing_data_result(&self) -> &Option<TestingDataResult>

Contains information about the testing results.

source

pub fn evaluation_result(self, input: EvaluationResult) -> Self

The training results. EvaluationResult is only returned if training is successful.

source

pub fn set_evaluation_result(self, input: Option<EvaluationResult>) -> Self

The training results. EvaluationResult is only returned if training is successful.

source

pub fn get_evaluation_result(&self) -> &Option<EvaluationResult>

The training results. EvaluationResult is only returned if training is successful.

source

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.

source

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.

source

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.

source

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.

source

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.

source

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.

source

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.

source

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.

source

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.

source

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.

source

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.

source

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.

source

pub fn version_description(self, input: impl Into<String>) -> Self

A user-provided description of the project version.

source

pub fn set_version_description(self, input: Option<String>) -> Self

A user-provided description of the project version.

source

pub fn get_version_description(&self) -> &Option<String>

A user-provided description of the project version.

source

pub fn feature(self, input: CustomizationFeature) -> Self

The feature that was customized.

source

pub fn set_feature(self, input: Option<CustomizationFeature>) -> Self

The feature that was customized.

source

pub fn get_feature(&self) -> &Option<CustomizationFeature>

The feature that was customized.

source

pub fn base_model_version(self, input: impl Into<String>) -> Self

The base detection model version used to create the project version.

source

pub fn set_base_model_version(self, input: Option<String>) -> Self

The base detection model version used to create the project version.

source

pub fn get_base_model_version(&self) -> &Option<String>

The base detection model version used to create the project version.

source

pub fn feature_config(self, input: CustomizationFeatureConfig) -> Self

Feature specific configuration that was applied during training.

source

pub fn set_feature_config( self, input: Option<CustomizationFeatureConfig> ) -> Self

Feature specific configuration that was applied during training.

source

pub fn get_feature_config(&self) -> &Option<CustomizationFeatureConfig>

Feature specific configuration that was applied during training.

source

pub fn build(self) -> ProjectVersionDescription

Consumes the builder and constructs a ProjectVersionDescription.

Trait Implementations§

source§

impl Clone for ProjectVersionDescriptionBuilder

source§

fn clone(&self) -> ProjectVersionDescriptionBuilder

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ProjectVersionDescriptionBuilder

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for ProjectVersionDescriptionBuilder

source§

fn default() -> ProjectVersionDescriptionBuilder

Returns the “default value” for a type. Read more
source§

impl PartialEq for ProjectVersionDescriptionBuilder

source§

fn eq(&self, other: &ProjectVersionDescriptionBuilder) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for ProjectVersionDescriptionBuilder

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts 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 more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts 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
source§

impl<Unshared, Shared> IntoShared<Shared> for Unshared
where Shared: FromUnshared<Unshared>,

source§

fn into_shared(self) -> Shared

Creates a shared type from an unshared type.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more