#[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 for InstanceHealthSummaryBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for InstanceHealthSummaryBuilder
Auto Trait Implementations§
impl Freeze for InstanceHealthSummaryBuilder
impl RefUnwindSafe for InstanceHealthSummaryBuilder
impl Send for InstanceHealthSummaryBuilder
impl Sync for InstanceHealthSummaryBuilder
impl Unpin for InstanceHealthSummaryBuilder
impl UnwindSafe for InstanceHealthSummaryBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more