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 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 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 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
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 Debug for ServiceHealthBuilder
impl Debug for ServiceHealthBuilder
source§impl Default for ServiceHealthBuilder
impl Default for ServiceHealthBuilder
source§fn default() -> ServiceHealthBuilder
fn default() -> ServiceHealthBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<ServiceHealthBuilder> for ServiceHealthBuilder
impl PartialEq<ServiceHealthBuilder> for ServiceHealthBuilder
source§fn eq(&self, other: &ServiceHealthBuilder) -> bool
fn eq(&self, other: &ServiceHealthBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ServiceHealthBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ServiceHealthBuilder
impl Send for ServiceHealthBuilder
impl Sync for ServiceHealthBuilder
impl Unpin for ServiceHealthBuilder
impl UnwindSafe for ServiceHealthBuilder
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