#[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 ==
.