Struct aws_sdk_ec2::types::InstanceStatus
source · #[non_exhaustive]pub struct InstanceStatus { /* private fields */ }
Expand description
Describes the status of an instance.
Implementations§
source§impl 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.
source§impl InstanceStatus
impl InstanceStatus
sourcepub fn builder() -> InstanceStatusBuilder
pub fn builder() -> InstanceStatusBuilder
Creates a new builder-style object to manufacture InstanceStatus
.
Trait Implementations§
source§impl Clone for InstanceStatus
impl Clone for InstanceStatus
source§fn clone(&self) -> InstanceStatus
fn clone(&self) -> InstanceStatus
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 InstanceStatus
impl Debug for InstanceStatus
source§impl PartialEq<InstanceStatus> for InstanceStatus
impl PartialEq<InstanceStatus> for InstanceStatus
source§fn eq(&self, other: &InstanceStatus) -> bool
fn eq(&self, other: &InstanceStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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§
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
Mutably borrows from an owned value. Read more