Package com.exoscale.sdk.model
Class ElasticIpHealthcheck
java.lang.Object
com.exoscale.sdk.model.ElasticIpHealthcheck
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.4.0")
public class ElasticIpHealthcheck
extends Object
Elastic IP address healthcheck
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Return true if this elastic-ip-healthcheck object is equal to o.Interval between the checks in seconds (default: 10) minimum: 5 maximum: 300getMode()
Health check modegetPort()
Health check port minimum: 1 maximum: 65535Number of attempts before considering the target unhealthy (default: 3) minimum: 1 maximum: 20Number of attempts before considering the target healthy (default: 2) minimum: 1 maximum: 20Health check timeout value in seconds (default: 2) minimum: 2 maximum: 60Skip TLS verificationAn optional domain or subdomain to check TLS againstgetUri()
An endpoint to use for the health check, for example '/status'int
hashCode()
void
setInterval
(Long interval) void
void
void
setStrikesFail
(Long strikesFail) void
setStrikesOk
(Long strikesOk) void
setTimeout
(Long timeout) void
setTlsSkipVerify
(Boolean tlsSkipVerify) void
void
strikesFail
(Long strikesFail) tlsSkipVerify
(Boolean tlsSkipVerify) toString()
Convert the instance into URL query string.toUrlQueryString
(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_STRIKES_OK
- See Also:
-
JSON_PROPERTY_TLS_SKIP_VERIFY
- See Also:
-
JSON_PROPERTY_TLS_SNI
- See Also:
-
JSON_PROPERTY_STRIKES_FAIL
- See Also:
-
JSON_PROPERTY_MODE
- See Also:
-
JSON_PROPERTY_PORT
- See Also:
-
JSON_PROPERTY_URI
- See Also:
-
JSON_PROPERTY_INTERVAL
- See Also:
-
JSON_PROPERTY_TIMEOUT
- See Also:
-
-
Constructor Details
-
ElasticIpHealthcheck
public ElasticIpHealthcheck()
-
-
Method Details
-
strikesOk
-
getStrikesOk
Number of attempts before considering the target healthy (default: 2) minimum: 1 maximum: 20- Returns:
- strikesOk
-
setStrikesOk
-
tlsSkipVerify
-
getTlsSkipVerify
Skip TLS verification- Returns:
- tlsSkipVerify
-
setTlsSkipVerify
-
tlsSni
-
getTlsSni
An optional domain or subdomain to check TLS against- Returns:
- tlsSni
-
setTlsSni
-
strikesFail
-
getStrikesFail
Number of attempts before considering the target unhealthy (default: 3) minimum: 1 maximum: 20- Returns:
- strikesFail
-
setStrikesFail
-
mode
-
getMode
Health check mode- Returns:
- mode
-
setMode
-
port
-
getPort
Health check port minimum: 1 maximum: 65535- Returns:
- port
-
setPort
-
uri
-
getUri
An endpoint to use for the health check, for example '/status'- Returns:
- uri
-
setUri
-
interval
-
getInterval
Interval between the checks in seconds (default: 10) minimum: 5 maximum: 300- Returns:
- interval
-
setInterval
-
timeout
-
getTimeout
Health check timeout value in seconds (default: 2) minimum: 2 maximum: 60- Returns:
- timeout
-
setTimeout
-
equals
Return true if this elastic-ip-healthcheck object is equal to o. -
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix
- prefix of the query string- Returns:
- URL query string
-