Interface HealthCheckCustomConfig.Builder

All Superinterfaces:
Buildable, CopyableBuilder<HealthCheckCustomConfig.Builder,HealthCheckCustomConfig>, SdkBuilder<HealthCheckCustomConfig.Builder,HealthCheckCustomConfig>, SdkPojo
Enclosing class:
HealthCheckCustomConfig

public static interface HealthCheckCustomConfig.Builder extends SdkPojo, CopyableBuilder<HealthCheckCustomConfig.Builder,HealthCheckCustomConfig>
  • Method Details

    • failureThreshold

      @Deprecated HealthCheckCustomConfig.Builder failureThreshold(Integer failureThreshold)
      Deprecated.
      Configurable FailureThreshold of HealthCheckCustomConfig is deprecated. It will always have value 1.

      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.

      Parameters:
      failureThreshold -

      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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.