Struct aws_sdk_ec2::model::ActiveInstance
source · [−]#[non_exhaustive]pub struct ActiveInstance { /* private fields */ }
Expand description
Describes a running instance in a Spot Fleet.
Implementations
sourceimpl ActiveInstance
impl ActiveInstance
sourcepub fn instance_id(&self) -> Option<&str>
pub fn instance_id(&self) -> Option<&str>
The ID of the instance.
sourcepub fn instance_type(&self) -> Option<&str>
pub fn instance_type(&self) -> Option<&str>
The instance type.
sourcepub fn spot_instance_request_id(&self) -> Option<&str>
pub fn spot_instance_request_id(&self) -> Option<&str>
The ID of the Spot Instance request.
sourcepub fn instance_health(&self) -> Option<&InstanceHealthStatus>
pub fn instance_health(&self) -> Option<&InstanceHealthStatus>
The health status of the instance. If the status of either the instance status check or the system status check is impaired
, the health status of the instance is unhealthy
. Otherwise, the health status is healthy
.
sourceimpl ActiveInstance
impl ActiveInstance
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ActiveInstance
.
Trait Implementations
sourceimpl Clone for ActiveInstance
impl Clone for ActiveInstance
sourcefn clone(&self) -> ActiveInstance
fn clone(&self) -> ActiveInstance
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 ActiveInstance
impl Debug for ActiveInstance
sourceimpl PartialEq<ActiveInstance> for ActiveInstance
impl PartialEq<ActiveInstance> for ActiveInstance
sourcefn eq(&self, other: &ActiveInstance) -> bool
fn eq(&self, other: &ActiveInstance) -> bool
impl StructuralPartialEq for ActiveInstance
Auto Trait Implementations
impl RefUnwindSafe for ActiveInstance
impl Send for ActiveInstance
impl Sync for ActiveInstance
impl Unpin for ActiveInstance
impl UnwindSafe for ActiveInstance
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