#[non_exhaustive]pub struct ContainerInstanceHealthStatusBuilder { /* private fields */ }
Expand description
A builder for ContainerInstanceHealthStatus
.
Implementations§
source§impl ContainerInstanceHealthStatusBuilder
impl ContainerInstanceHealthStatusBuilder
sourcepub fn overall_status(self, input: InstanceHealthCheckState) -> Self
pub fn overall_status(self, input: InstanceHealthCheckState) -> Self
The overall health status of the container instance. This is an aggregate status of all container instance health checks.
sourcepub fn set_overall_status(self, input: Option<InstanceHealthCheckState>) -> Self
pub fn set_overall_status(self, input: Option<InstanceHealthCheckState>) -> Self
The overall health status of the container instance. This is an aggregate status of all container instance health checks.
sourcepub fn get_overall_status(&self) -> &Option<InstanceHealthCheckState>
pub fn get_overall_status(&self) -> &Option<InstanceHealthCheckState>
The overall health status of the container instance. This is an aggregate status of all container instance health checks.
sourcepub fn details(self, input: InstanceHealthCheckResult) -> Self
pub fn details(self, input: InstanceHealthCheckResult) -> Self
Appends an item to details
.
To override the contents of this collection use set_details
.
An array of objects representing the details of the container instance health status.
sourcepub fn set_details(self, input: Option<Vec<InstanceHealthCheckResult>>) -> Self
pub fn set_details(self, input: Option<Vec<InstanceHealthCheckResult>>) -> Self
An array of objects representing the details of the container instance health status.
sourcepub fn get_details(&self) -> &Option<Vec<InstanceHealthCheckResult>>
pub fn get_details(&self) -> &Option<Vec<InstanceHealthCheckResult>>
An array of objects representing the details of the container instance health status.
sourcepub fn build(self) -> ContainerInstanceHealthStatus
pub fn build(self) -> ContainerInstanceHealthStatus
Consumes the builder and constructs a ContainerInstanceHealthStatus
.
Trait Implementations§
source§impl Clone for ContainerInstanceHealthStatusBuilder
impl Clone for ContainerInstanceHealthStatusBuilder
source§fn clone(&self) -> ContainerInstanceHealthStatusBuilder
fn clone(&self) -> ContainerInstanceHealthStatusBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ContainerInstanceHealthStatusBuilder
impl Default for ContainerInstanceHealthStatusBuilder
source§fn default() -> ContainerInstanceHealthStatusBuilder
fn default() -> ContainerInstanceHealthStatusBuilder
source§impl PartialEq for ContainerInstanceHealthStatusBuilder
impl PartialEq for ContainerInstanceHealthStatusBuilder
source§fn eq(&self, other: &ContainerInstanceHealthStatusBuilder) -> bool
fn eq(&self, other: &ContainerInstanceHealthStatusBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ContainerInstanceHealthStatusBuilder
Auto Trait Implementations§
impl Freeze for ContainerInstanceHealthStatusBuilder
impl RefUnwindSafe for ContainerInstanceHealthStatusBuilder
impl Send for ContainerInstanceHealthStatusBuilder
impl Sync for ContainerInstanceHealthStatusBuilder
impl Unpin for ContainerInstanceHealthStatusBuilder
impl UnwindSafe for ContainerInstanceHealthStatusBuilder
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