#[non_exhaustive]pub struct SingleInstanceHealth { /* private fields */ }
Expand description
Detailed health information about an Amazon EC2 instance in your Elastic Beanstalk environment.
Implementations§
source§impl SingleInstanceHealth
impl SingleInstanceHealth
sourcepub fn instance_id(&self) -> Option<&str>
pub fn instance_id(&self) -> Option<&str>
The ID of the Amazon EC2 instance.
sourcepub fn health_status(&self) -> Option<&str>
pub fn health_status(&self) -> Option<&str>
Returns the health status of the specified instance. For more information, see Health Colors and Statuses.
sourcepub fn color(&self) -> Option<&str>
pub fn color(&self) -> Option<&str>
Represents the color indicator that gives you information about the health of the EC2 instance. For more information, see Health Colors and Statuses.
sourcepub fn causes(&self) -> Option<&[String]>
pub fn causes(&self) -> Option<&[String]>
Represents the causes, which provide more information about the current health status.
sourcepub fn launched_at(&self) -> Option<&DateTime>
pub fn launched_at(&self) -> Option<&DateTime>
The time at which the EC2 instance was launched.
sourcepub fn application_metrics(&self) -> Option<&ApplicationMetrics>
pub fn application_metrics(&self) -> Option<&ApplicationMetrics>
Request metrics from your application.
sourcepub fn system(&self) -> Option<&SystemStatus>
pub fn system(&self) -> Option<&SystemStatus>
Operating system metrics from the instance.
sourcepub fn deployment(&self) -> Option<&Deployment>
pub fn deployment(&self) -> Option<&Deployment>
Information about the most recent deployment to an instance.
sourcepub fn availability_zone(&self) -> Option<&str>
pub fn availability_zone(&self) -> Option<&str>
The availability zone in which the instance runs.
sourcepub fn instance_type(&self) -> Option<&str>
pub fn instance_type(&self) -> Option<&str>
The instance's type.
source§impl SingleInstanceHealth
impl SingleInstanceHealth
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture SingleInstanceHealth
.
Trait Implementations§
source§impl Clone for SingleInstanceHealth
impl Clone for SingleInstanceHealth
source§fn clone(&self) -> SingleInstanceHealth
fn clone(&self) -> SingleInstanceHealth
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SingleInstanceHealth
impl Debug for SingleInstanceHealth
source§impl PartialEq<SingleInstanceHealth> for SingleInstanceHealth
impl PartialEq<SingleInstanceHealth> for SingleInstanceHealth
source§fn eq(&self, other: &SingleInstanceHealth) -> bool
fn eq(&self, other: &SingleInstanceHealth) -> bool
self
and other
values to be equal, and is used
by ==
.