Struct aws_sdk_ec2::model::InstanceStatus
source · [−]#[non_exhaustive]pub struct InstanceStatus { /* private fields */ }
Expand description
Describes the status of an instance.
Implementations
sourceimpl InstanceStatus
impl InstanceStatus
sourcepub fn availability_zone(&self) -> Option<&str>
pub fn availability_zone(&self) -> Option<&str>
The Availability Zone of the instance.
sourcepub fn outpost_arn(&self) -> Option<&str>
pub fn outpost_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the Outpost.
sourcepub fn events(&self) -> Option<&[InstanceStatusEvent]>
pub fn events(&self) -> Option<&[InstanceStatusEvent]>
Any scheduled events associated with the instance.
sourcepub fn instance_id(&self) -> Option<&str>
pub fn instance_id(&self) -> Option<&str>
The ID of the instance.
sourcepub fn instance_state(&self) -> Option<&InstanceState>
pub fn instance_state(&self) -> Option<&InstanceState>
The intended state of the instance. DescribeInstanceStatus
requires that an instance be in the running
state.
sourcepub fn instance_status(&self) -> Option<&InstanceStatusSummary>
pub fn instance_status(&self) -> Option<&InstanceStatusSummary>
Reports impaired functionality that stems from issues internal to the instance, such as impaired reachability.
sourcepub fn system_status(&self) -> Option<&InstanceStatusSummary>
pub fn system_status(&self) -> Option<&InstanceStatusSummary>
Reports impaired functionality that stems from issues related to the systems that support an instance, such as hardware failures and network connectivity problems.
sourceimpl InstanceStatus
impl InstanceStatus
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture InstanceStatus
.
Trait Implementations
sourceimpl Clone for InstanceStatus
impl Clone for InstanceStatus
sourcefn clone(&self) -> InstanceStatus
fn clone(&self) -> InstanceStatus
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for InstanceStatus
impl Debug for InstanceStatus
sourceimpl PartialEq<InstanceStatus> for InstanceStatus
impl PartialEq<InstanceStatus> for InstanceStatus
sourcefn eq(&self, other: &InstanceStatus) -> bool
fn eq(&self, other: &InstanceStatus) -> bool
impl StructuralPartialEq for InstanceStatus
Auto Trait Implementations
impl RefUnwindSafe for InstanceStatus
impl Send for InstanceStatus
impl Sync for InstanceStatus
impl Unpin for InstanceStatus
impl UnwindSafe for InstanceStatus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more