#[non_exhaustive]pub struct InstanceHealthSummaryBuilder { /* private fields */ }
Expand description
A builder for InstanceHealthSummary
.
Implementations§
source§impl InstanceHealthSummaryBuilder
impl InstanceHealthSummaryBuilder
sourcepub fn no_data(self, input: i32) -> Self
pub fn no_data(self, input: i32) -> Self
Grey. AWS Elastic Beanstalk and the health agent are reporting no data on an instance.
sourcepub fn set_no_data(self, input: Option<i32>) -> Self
pub fn set_no_data(self, input: Option<i32>) -> Self
Grey. AWS Elastic Beanstalk and the health agent are reporting no data on an instance.
sourcepub fn get_no_data(&self) -> &Option<i32>
pub fn get_no_data(&self) -> &Option<i32>
Grey. AWS Elastic Beanstalk and the health agent are reporting no data on an instance.
sourcepub fn unknown(self, input: i32) -> Self
pub fn unknown(self, input: i32) -> Self
Grey. AWS Elastic Beanstalk and the health agent are reporting an insufficient amount of data on an instance.
sourcepub fn set_unknown(self, input: Option<i32>) -> Self
pub fn set_unknown(self, input: Option<i32>) -> Self
Grey. AWS Elastic Beanstalk and the health agent are reporting an insufficient amount of data on an instance.
sourcepub fn get_unknown(&self) -> &Option<i32>
pub fn get_unknown(&self) -> &Option<i32>
Grey. AWS Elastic Beanstalk and the health agent are reporting an insufficient amount of data on an instance.
sourcepub fn pending(self, input: i32) -> Self
pub fn pending(self, input: i32) -> Self
Grey. An operation is in progress on an instance within the command timeout.
sourcepub fn set_pending(self, input: Option<i32>) -> Self
pub fn set_pending(self, input: Option<i32>) -> Self
Grey. An operation is in progress on an instance within the command timeout.
sourcepub fn get_pending(&self) -> &Option<i32>
pub fn get_pending(&self) -> &Option<i32>
Grey. An operation is in progress on an instance within the command timeout.
sourcepub fn ok(self, input: i32) -> Self
pub fn ok(self, input: i32) -> Self
Green. An instance is passing health checks and the health agent is not reporting any problems.
sourcepub fn set_ok(self, input: Option<i32>) -> Self
pub fn set_ok(self, input: Option<i32>) -> Self
Green. An instance is passing health checks and the health agent is not reporting any problems.
sourcepub fn get_ok(&self) -> &Option<i32>
pub fn get_ok(&self) -> &Option<i32>
Green. An instance is passing health checks and the health agent is not reporting any problems.
sourcepub fn set_info(self, input: Option<i32>) -> Self
pub fn set_info(self, input: Option<i32>) -> Self
Green. An operation is in progress on an instance.
sourcepub fn warning(self, input: i32) -> Self
pub fn warning(self, input: i32) -> Self
Yellow. The health agent is reporting a moderate number of request failures or other issues for an instance or environment.
sourcepub fn set_warning(self, input: Option<i32>) -> Self
pub fn set_warning(self, input: Option<i32>) -> Self
Yellow. The health agent is reporting a moderate number of request failures or other issues for an instance or environment.
sourcepub fn get_warning(&self) -> &Option<i32>
pub fn get_warning(&self) -> &Option<i32>
Yellow. The health agent is reporting a moderate number of request failures or other issues for an instance or environment.
sourcepub fn degraded(self, input: i32) -> Self
pub fn degraded(self, input: i32) -> Self
Red. The health agent is reporting a high number of request failures or other issues for an instance or environment.
sourcepub fn set_degraded(self, input: Option<i32>) -> Self
pub fn set_degraded(self, input: Option<i32>) -> Self
Red. The health agent is reporting a high number of request failures or other issues for an instance or environment.
sourcepub fn get_degraded(&self) -> &Option<i32>
pub fn get_degraded(&self) -> &Option<i32>
Red. The health agent is reporting a high number of request failures or other issues for an instance or environment.
sourcepub fn severe(self, input: i32) -> Self
pub fn severe(self, input: i32) -> Self
Red. The health agent is reporting a very high number of request failures or other issues for an instance or environment.
sourcepub fn set_severe(self, input: Option<i32>) -> Self
pub fn set_severe(self, input: Option<i32>) -> Self
Red. The health agent is reporting a very high number of request failures or other issues for an instance or environment.
sourcepub fn get_severe(&self) -> &Option<i32>
pub fn get_severe(&self) -> &Option<i32>
Red. The health agent is reporting a very high number of request failures or other issues for an instance or environment.
sourcepub fn build(self) -> InstanceHealthSummary
pub fn build(self) -> InstanceHealthSummary
Consumes the builder and constructs a InstanceHealthSummary
.
Trait Implementations§
source§impl Clone for InstanceHealthSummaryBuilder
impl Clone for InstanceHealthSummaryBuilder
source§fn clone(&self) -> InstanceHealthSummaryBuilder
fn clone(&self) -> InstanceHealthSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for InstanceHealthSummaryBuilder
impl Debug for InstanceHealthSummaryBuilder
source§impl Default for InstanceHealthSummaryBuilder
impl Default for InstanceHealthSummaryBuilder
source§fn default() -> InstanceHealthSummaryBuilder
fn default() -> InstanceHealthSummaryBuilder
source§impl PartialEq<InstanceHealthSummaryBuilder> for InstanceHealthSummaryBuilder
impl PartialEq<InstanceHealthSummaryBuilder> for InstanceHealthSummaryBuilder
source§fn eq(&self, other: &InstanceHealthSummaryBuilder) -> bool
fn eq(&self, other: &InstanceHealthSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.