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 booleanequals(Object o)IntegergetHealthyThreshold()Number of consecutive successful checks before considering a particular back-end instance as healthy.IntegergetIntervalSeconds()Interval (in seconds) at which the health checks will be performed.StringgetPort()Port on the back-end instance machine to use for the health check.StringgetProtocol()The protocol used for the health check.IntegergetTimeoutSeconds()Timeout (in seconds) to wait for a response from the back-end instance.IntegergetUnhealthyThreshold()Number of consecutive check failures before considering a particular back-end instance as unhealthy.StringgetUrlPath()URL path on the back-end instance against which a request will be performed for the health check.inthashCode()HealthCheckConfigurationhealthyThreshold(Integer healthyThreshold)HealthCheckConfigurationintervalSeconds(Integer intervalSeconds)HealthCheckConfigurationport(String port)HealthCheckConfigurationprotocol(String protocol)voidsetHealthyThreshold(Integer healthyThreshold)voidsetIntervalSeconds(Integer intervalSeconds)voidsetPort(String port)voidsetProtocol(String protocol)voidsetTimeoutSeconds(Integer timeoutSeconds)voidsetUnhealthyThreshold(Integer unhealthyThreshold)voidsetUrlPath(String urlPath)HealthCheckConfigurationtimeoutSeconds(Integer timeoutSeconds)StringtoString()HealthCheckConfigurationunhealthyThreshold(Integer unhealthyThreshold)HealthCheckConfigurationurlPath(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
-