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§
source§impl 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
.
source§impl ActiveInstance
impl ActiveInstance
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ActiveInstance
.
Trait Implementations§
source§impl Clone for ActiveInstance
impl Clone for ActiveInstance
source§fn clone(&self) -> ActiveInstance
fn clone(&self) -> ActiveInstance
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 ActiveInstance
impl Debug for ActiveInstance
source§impl PartialEq<ActiveInstance> for ActiveInstance
impl PartialEq<ActiveInstance> for ActiveInstance
source§fn eq(&self, other: &ActiveInstance) -> bool
fn eq(&self, other: &ActiveInstance) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.