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 ==
.impl StructuralPartialEq for ServiceHealthBuilder
Auto Trait Implementations§
impl Freeze for ServiceHealthBuilder
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
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