Struct aws_sdk_route53::types::HealthCheck
source · #[non_exhaustive]pub struct HealthCheck {
pub id: String,
pub caller_reference: String,
pub linked_service: Option<LinkedService>,
pub health_check_config: Option<HealthCheckConfig>,
pub health_check_version: i64,
pub cloud_watch_alarm_configuration: Option<CloudWatchAlarmConfiguration>,
}
Expand description
A complex type that contains information about one health check that is associated with the current Amazon Web Services account.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.id: String
The identifier that Amazon Route 53 assigned to the health check when you created it. When you add or update a resource record set, you use this value to specify which health check to use. The value can be up to 64 characters long.
caller_reference: String
A unique string that you specified when you created the health check.
linked_service: Option<LinkedService>
If the health check was created by another service, the service that created the health check. When a health check is created by another service, you can't edit or delete it using Amazon Route 53.
health_check_config: Option<HealthCheckConfig>
A complex type that contains detailed information about one health check.
health_check_version: i64
The version of the health check. You can optionally pass this value in a call to UpdateHealthCheck
to prevent overwriting another change to the health check.
cloud_watch_alarm_configuration: Option<CloudWatchAlarmConfiguration>
A complex type that contains information about the CloudWatch alarm that Amazon Route 53 is monitoring for this health check.
Implementations§
source§impl HealthCheck
impl HealthCheck
sourcepub fn id(&self) -> &str
pub fn id(&self) -> &str
The identifier that Amazon Route 53 assigned to the health check when you created it. When you add or update a resource record set, you use this value to specify which health check to use. The value can be up to 64 characters long.
sourcepub fn caller_reference(&self) -> &str
pub fn caller_reference(&self) -> &str
A unique string that you specified when you created the health check.
sourcepub fn linked_service(&self) -> Option<&LinkedService>
pub fn linked_service(&self) -> Option<&LinkedService>
If the health check was created by another service, the service that created the health check. When a health check is created by another service, you can't edit or delete it using Amazon Route 53.
sourcepub fn health_check_config(&self) -> Option<&HealthCheckConfig>
pub fn health_check_config(&self) -> Option<&HealthCheckConfig>
A complex type that contains detailed information about one health check.
sourcepub fn health_check_version(&self) -> i64
pub fn health_check_version(&self) -> i64
The version of the health check. You can optionally pass this value in a call to UpdateHealthCheck
to prevent overwriting another change to the health check.
sourcepub fn cloud_watch_alarm_configuration(
&self,
) -> Option<&CloudWatchAlarmConfiguration>
pub fn cloud_watch_alarm_configuration( &self, ) -> Option<&CloudWatchAlarmConfiguration>
A complex type that contains information about the CloudWatch alarm that Amazon Route 53 is monitoring for this health check.
source§impl HealthCheck
impl HealthCheck
sourcepub fn builder() -> HealthCheckBuilder
pub fn builder() -> HealthCheckBuilder
Creates a new builder-style object to manufacture HealthCheck
.
Trait Implementations§
source§impl Clone for HealthCheck
impl Clone for HealthCheck
source§fn clone(&self) -> HealthCheck
fn clone(&self) -> HealthCheck
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for HealthCheck
impl Debug for HealthCheck
source§impl PartialEq for HealthCheck
impl PartialEq for HealthCheck
source§fn eq(&self, other: &HealthCheck) -> bool
fn eq(&self, other: &HealthCheck) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for HealthCheck
Auto Trait Implementations§
impl Freeze for HealthCheck
impl RefUnwindSafe for HealthCheck
impl Send for HealthCheck
impl Sync for HealthCheck
impl Unpin for HealthCheck
impl UnwindSafe for HealthCheck
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