Struct aws_sdk_outposts::model::ComputeAttributes
source · #[non_exhaustive]pub struct ComputeAttributes { /* private fields */ }
Expand description
Information about compute hardware assets.
Implementations§
source§impl ComputeAttributes
impl ComputeAttributes
sourcepub fn state(&self) -> Option<&ComputeAssetState>
pub fn state(&self) -> Option<&ComputeAssetState>
The state.
-
ACTIVE - The asset is available and can provide capacity for new compute resources.
-
ISOLATED - The asset is undergoing maintenance and can't provide capacity for new compute resources. Existing compute resources on the asset are not affected.
-
RETIRING - The underlying hardware for the asset is degraded. Capacity for new compute resources is reduced. Amazon Web Services sends notifications for resources that must be stopped before the asset can be replaced.
source§impl ComputeAttributes
impl ComputeAttributes
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ComputeAttributes
.
Trait Implementations§
source§impl Clone for ComputeAttributes
impl Clone for ComputeAttributes
source§fn clone(&self) -> ComputeAttributes
fn clone(&self) -> ComputeAttributes
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 ComputeAttributes
impl Debug for ComputeAttributes
source§impl PartialEq<ComputeAttributes> for ComputeAttributes
impl PartialEq<ComputeAttributes> for ComputeAttributes
source§fn eq(&self, other: &ComputeAttributes) -> bool
fn eq(&self, other: &ComputeAttributes) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.