#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for InstanceHealthSummary
Implementations
sourceimpl Builder
impl Builder
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 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 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 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 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 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 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 build(self) -> InstanceHealthSummary
pub fn build(self) -> InstanceHealthSummary
Consumes the builder and constructs a InstanceHealthSummary
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more