#[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 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 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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for ContainerInstanceHealthStatusBuilder
impl Default for ContainerInstanceHealthStatusBuilder
source§fn default() -> ContainerInstanceHealthStatusBuilder
fn default() -> ContainerInstanceHealthStatusBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<ContainerInstanceHealthStatusBuilder> for ContainerInstanceHealthStatusBuilder
impl PartialEq<ContainerInstanceHealthStatusBuilder> for ContainerInstanceHealthStatusBuilder
source§fn eq(&self, other: &ContainerInstanceHealthStatusBuilder) -> bool
fn eq(&self, other: &ContainerInstanceHealthStatusBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ContainerInstanceHealthStatusBuilder
Auto Trait Implementations§
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
Mutably borrows from an owned value. Read more