Struct aws_sdk_devopsguru::types::builders::ServiceHealthBuilder
source · #[non_exhaustive]pub struct ServiceHealthBuilder { /* private fields */ }
Expand description
A builder for ServiceHealth
.
Implementations§
source§impl ServiceHealthBuilder
impl ServiceHealthBuilder
sourcepub fn service_name(self, input: ServiceName) -> Self
pub fn service_name(self, input: ServiceName) -> Self
The name of the Amazon Web Services service.
sourcepub fn set_service_name(self, input: Option<ServiceName>) -> Self
pub fn set_service_name(self, input: Option<ServiceName>) -> Self
The name of the Amazon Web Services service.
sourcepub fn get_service_name(&self) -> &Option<ServiceName>
pub fn get_service_name(&self) -> &Option<ServiceName>
The name of the Amazon Web Services service.
sourcepub fn insight(self, input: ServiceInsightHealth) -> Self
pub fn insight(self, input: ServiceInsightHealth) -> Self
Represents the health of an Amazon Web Services service. This is a ServiceInsightHealth
that contains the number of open proactive and reactive insights for this service.
sourcepub fn set_insight(self, input: Option<ServiceInsightHealth>) -> Self
pub fn set_insight(self, input: Option<ServiceInsightHealth>) -> Self
Represents the health of an Amazon Web Services service. This is a ServiceInsightHealth
that contains the number of open proactive and reactive insights for this service.
sourcepub fn get_insight(&self) -> &Option<ServiceInsightHealth>
pub fn get_insight(&self) -> &Option<ServiceInsightHealth>
Represents the health of an Amazon Web Services service. This is a ServiceInsightHealth
that contains the number of open proactive and reactive insights for this service.
sourcepub fn analyzed_resource_count(self, input: i64) -> Self
pub fn analyzed_resource_count(self, input: i64) -> Self
Number of resources that DevOps Guru is monitoring in an analyzed Amazon Web Services service.
sourcepub fn set_analyzed_resource_count(self, input: Option<i64>) -> Self
pub fn set_analyzed_resource_count(self, input: Option<i64>) -> Self
Number of resources that DevOps Guru is monitoring in an analyzed Amazon Web Services service.
sourcepub fn get_analyzed_resource_count(&self) -> &Option<i64>
pub fn get_analyzed_resource_count(&self) -> &Option<i64>
Number of resources that DevOps Guru is monitoring in an analyzed Amazon Web Services service.
sourcepub fn build(self) -> ServiceHealth
pub fn build(self) -> ServiceHealth
Consumes the builder and constructs a ServiceHealth
.
Trait Implementations§
source§impl Clone for ServiceHealthBuilder
impl Clone for ServiceHealthBuilder
source§fn clone(&self) -> ServiceHealthBuilder
fn clone(&self) -> ServiceHealthBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ServiceHealthBuilder
impl Debug for ServiceHealthBuilder
source§impl Default for ServiceHealthBuilder
impl Default for ServiceHealthBuilder
source§fn default() -> ServiceHealthBuilder
fn default() -> ServiceHealthBuilder
source§impl PartialEq for ServiceHealthBuilder
impl PartialEq for ServiceHealthBuilder
source§fn eq(&self, other: &ServiceHealthBuilder) -> bool
fn eq(&self, other: &ServiceHealthBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.