Class HealthCheckConfiguration
java.lang.Object
com.vmware.vra.jenkinsplugin.model.iaas.HealthCheckConfiguration
@Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen", date="2020-09-09T18:26:35.661905-04:00[America/New_York]") public class HealthCheckConfiguration extends Object
Load balancer health check configuration.
-
Constructor Summary
Constructors Constructor Description HealthCheckConfiguration()
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
Integer
getHealthyThreshold()
Number of consecutive successful checks before considering a particular back-end instance as healthy.Integer
getIntervalSeconds()
Interval (in seconds) at which the health checks will be performed.String
getPort()
Port on the back-end instance machine to use for the health check.String
getProtocol()
The protocol used for the health check.Integer
getTimeoutSeconds()
Timeout (in seconds) to wait for a response from the back-end instance.Integer
getUnhealthyThreshold()
Number of consecutive check failures before considering a particular back-end instance as unhealthy.String
getUrlPath()
URL path on the back-end instance against which a request will be performed for the health check.int
hashCode()
HealthCheckConfiguration
healthyThreshold(Integer healthyThreshold)
HealthCheckConfiguration
intervalSeconds(Integer intervalSeconds)
HealthCheckConfiguration
port(String port)
HealthCheckConfiguration
protocol(String protocol)
void
setHealthyThreshold(Integer healthyThreshold)
void
setIntervalSeconds(Integer intervalSeconds)
void
setPort(String port)
void
setProtocol(String protocol)
void
setTimeoutSeconds(Integer timeoutSeconds)
void
setUnhealthyThreshold(Integer unhealthyThreshold)
void
setUrlPath(String urlPath)
HealthCheckConfiguration
timeoutSeconds(Integer timeoutSeconds)
String
toString()
HealthCheckConfiguration
unhealthyThreshold(Integer unhealthyThreshold)
HealthCheckConfiguration
urlPath(String urlPath)
-
Constructor Details
-
HealthCheckConfiguration
public HealthCheckConfiguration()
-
-
Method Details
-
protocol
-
getProtocol
The protocol used for the health check.- Returns:
- protocol
-
setProtocol
-
port
-
getPort
Port on the back-end instance machine to use for the health check.- Returns:
- port
-
setPort
-
timeoutSeconds
-
getTimeoutSeconds
Timeout (in seconds) to wait for a response from the back-end instance.- Returns:
- timeoutSeconds
-
setTimeoutSeconds
-
unhealthyThreshold
-
getUnhealthyThreshold
Number of consecutive check failures before considering a particular back-end instance as unhealthy.- Returns:
- unhealthyThreshold
-
setUnhealthyThreshold
-
healthyThreshold
-
getHealthyThreshold
Number of consecutive successful checks before considering a particular back-end instance as healthy.- Returns:
- healthyThreshold
-
setHealthyThreshold
-
urlPath
-
getUrlPath
URL path on the back-end instance against which a request will be performed for the health check. Useful when the health check protocol is HTTP/HTTPS.- Returns:
- urlPath
-
setUrlPath
-
intervalSeconds
-
getIntervalSeconds
Interval (in seconds) at which the health checks will be performed.- Returns:
- intervalSeconds
-
setIntervalSeconds
-
equals
-
hashCode
public int hashCode() -
toString
-