#[non_exhaustive]pub struct HealthCheckCustomConfigBuilder { /* private fields */ }Expand description
A builder for HealthCheckCustomConfig.
Implementations§
source§impl HealthCheckCustomConfigBuilder
impl HealthCheckCustomConfigBuilder
sourcepub fn failure_threshold(self, input: i32) -> Self
👎Deprecated: Configurable FailureThreshold of HealthCheckCustomConfig is deprecated. It will always have value 1.
pub fn failure_threshold(self, input: i32) -> Self
This parameter is no longer supported and is always set to 1. Cloud Map waits for approximately 30 seconds after receiving an UpdateInstanceCustomHealthStatus request before changing the status of the service instance.
The number of 30-second intervals that you want Cloud Map to wait after receiving an UpdateInstanceCustomHealthStatus request before it changes the health status of a service instance.
Sending a second or subsequent UpdateInstanceCustomHealthStatus request with the same value before 30 seconds has passed doesn't accelerate the change. Cloud Map still waits 30 seconds after the first request to make the change.
sourcepub fn set_failure_threshold(self, input: Option<i32>) -> Self
👎Deprecated: Configurable FailureThreshold of HealthCheckCustomConfig is deprecated. It will always have value 1.
pub fn set_failure_threshold(self, input: Option<i32>) -> Self
This parameter is no longer supported and is always set to 1. Cloud Map waits for approximately 30 seconds after receiving an UpdateInstanceCustomHealthStatus request before changing the status of the service instance.
The number of 30-second intervals that you want Cloud Map to wait after receiving an UpdateInstanceCustomHealthStatus request before it changes the health status of a service instance.
Sending a second or subsequent UpdateInstanceCustomHealthStatus request with the same value before 30 seconds has passed doesn't accelerate the change. Cloud Map still waits 30 seconds after the first request to make the change.
sourcepub fn get_failure_threshold(&self) -> &Option<i32>
👎Deprecated: Configurable FailureThreshold of HealthCheckCustomConfig is deprecated. It will always have value 1.
pub fn get_failure_threshold(&self) -> &Option<i32>
This parameter is no longer supported and is always set to 1. Cloud Map waits for approximately 30 seconds after receiving an UpdateInstanceCustomHealthStatus request before changing the status of the service instance.
The number of 30-second intervals that you want Cloud Map to wait after receiving an UpdateInstanceCustomHealthStatus request before it changes the health status of a service instance.
Sending a second or subsequent UpdateInstanceCustomHealthStatus request with the same value before 30 seconds has passed doesn't accelerate the change. Cloud Map still waits 30 seconds after the first request to make the change.
sourcepub fn build(self) -> HealthCheckCustomConfig
pub fn build(self) -> HealthCheckCustomConfig
Consumes the builder and constructs a HealthCheckCustomConfig.
Trait Implementations§
source§impl Clone for HealthCheckCustomConfigBuilder
impl Clone for HealthCheckCustomConfigBuilder
source§fn clone(&self) -> HealthCheckCustomConfigBuilder
fn clone(&self) -> HealthCheckCustomConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for HealthCheckCustomConfigBuilder
impl Default for HealthCheckCustomConfigBuilder
source§fn default() -> HealthCheckCustomConfigBuilder
fn default() -> HealthCheckCustomConfigBuilder
source§impl PartialEq for HealthCheckCustomConfigBuilder
impl PartialEq for HealthCheckCustomConfigBuilder
source§fn eq(&self, other: &HealthCheckCustomConfigBuilder) -> bool
fn eq(&self, other: &HealthCheckCustomConfigBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for HealthCheckCustomConfigBuilder
Auto Trait Implementations§
impl Freeze for HealthCheckCustomConfigBuilder
impl RefUnwindSafe for HealthCheckCustomConfigBuilder
impl Send for HealthCheckCustomConfigBuilder
impl Sync for HealthCheckCustomConfigBuilder
impl Unpin for HealthCheckCustomConfigBuilder
impl UnwindSafe for HealthCheckCustomConfigBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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