Struct aws_sdk_sagemaker::types::ModelPackageStatusItem
source · #[non_exhaustive]pub struct ModelPackageStatusItem { /* private fields */ }
Expand description
Represents the overall status of a model package.
Implementations§
source§impl ModelPackageStatusItem
impl ModelPackageStatusItem
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
The name of the model package for which the overall status is being reported.
sourcepub fn status(&self) -> Option<&DetailedModelPackageStatus>
pub fn status(&self) -> Option<&DetailedModelPackageStatus>
The current status.
sourcepub fn failure_reason(&self) -> Option<&str>
pub fn failure_reason(&self) -> Option<&str>
if the overall status is Failed
, the reason for the failure.
source§impl ModelPackageStatusItem
impl ModelPackageStatusItem
sourcepub fn builder() -> ModelPackageStatusItemBuilder
pub fn builder() -> ModelPackageStatusItemBuilder
Creates a new builder-style object to manufacture ModelPackageStatusItem
.
Trait Implementations§
source§impl Clone for ModelPackageStatusItem
impl Clone for ModelPackageStatusItem
source§fn clone(&self) -> ModelPackageStatusItem
fn clone(&self) -> ModelPackageStatusItem
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ModelPackageStatusItem
impl Debug for ModelPackageStatusItem
source§impl PartialEq<ModelPackageStatusItem> for ModelPackageStatusItem
impl PartialEq<ModelPackageStatusItem> for ModelPackageStatusItem
source§fn eq(&self, other: &ModelPackageStatusItem) -> bool
fn eq(&self, other: &ModelPackageStatusItem) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.