public static final class HealthCheck.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements HealthCheck
software.amazon.jsii.JsiiObject.InitializationModeHealthCheck.Builder, HealthCheck.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObject.InitializationMode mode) |
| Modifier and Type | Method and Description |
|---|---|
Number |
getHealthyThreshold()
After how many successful checks is an instance considered healthy
|
Number |
getInterval()
Number of seconds between health checks
|
String |
getPath()
What path to use for HTTP or HTTPS health check (must return 200)
For SSL and TCP health checks, accepting connections is enough to be considered
healthy.
|
Number |
getPort()
What port number to health check on
|
LoadBalancingProtocol |
getProtocol()
What protocol to use for health checking
The protocol is automatically determined from the port if it's not supplied.
|
Number |
getTimeout()
Health check timeout
|
Number |
getUnhealthyThreshold()
After how many unsuccessful checks is an instance considered unhealthy
|
void |
setHealthyThreshold(Number value)
After how many successful checks is an instance considered healthy
|
void |
setInterval(Number value)
Number of seconds between health checks
|
void |
setPath(String value)
What path to use for HTTP or HTTPS health check (must return 200)
For SSL and TCP health checks, accepting connections is enough to be considered
healthy.
|
void |
setPort(Number value)
What port number to health check on
|
void |
setProtocol(LoadBalancingProtocol value)
What protocol to use for health checking
The protocol is automatically determined from the port if it's not supplied.
|
void |
setTimeout(Number value)
Health check timeout
|
void |
setUnhealthyThreshold(Number value)
After how many unsuccessful checks is an instance considered unhealthy
|
jsiiAsyncCall, jsiiCall, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticGet, jsiiStaticSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObject.InitializationMode mode)
public Number getPort()
getPort in interface HealthCheckpublic void setPort(Number value)
setPort in interface HealthCheck@Nullable public Number getHealthyThreshold()
getHealthyThreshold in interface HealthCheckpublic void setHealthyThreshold(@Nullable Number value)
setHealthyThreshold in interface HealthCheck@Nullable public Number getInterval()
getInterval in interface HealthCheckpublic void setInterval(@Nullable Number value)
setInterval in interface HealthCheck@Nullable public String getPath()
getPath in interface HealthCheckpublic void setPath(@Nullable String value)
setPath in interface HealthCheck@Nullable public LoadBalancingProtocol getProtocol()
getProtocol in interface HealthCheckpublic void setProtocol(@Nullable LoadBalancingProtocol value)
setProtocol in interface HealthCheck@Nullable public Number getTimeout()
getTimeout in interface HealthCheckpublic void setTimeout(@Nullable Number value)
setTimeout in interface HealthCheck@Nullable public Number getUnhealthyThreshold()
getUnhealthyThreshold in interface HealthCheckpublic void setUnhealthyThreshold(@Nullable Number value)
setUnhealthyThreshold in interface HealthCheckCopyright © 2018. All rights reserved.