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
Nested Classes Modifier and Type Class Description static class
ElasticIpHealthcheck.ModeEnum
Health check mode
-
Field Summary
Fields Modifier and Type Field Description static String
JSON_PROPERTY_INTERVAL
static String
JSON_PROPERTY_MODE
static String
JSON_PROPERTY_PORT
static String
JSON_PROPERTY_STRIKES_FAIL
static String
JSON_PROPERTY_STRIKES_OK
static String
JSON_PROPERTY_TIMEOUT
static String
JSON_PROPERTY_TLS_SKIP_VERIFY
static String
JSON_PROPERTY_TLS_SNI
static String
JSON_PROPERTY_URI
-
Constructor Summary
Constructors Constructor Description ElasticIpHealthcheck()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Return true if this elastic-ip-healthcheck object is equal to o.Long
getInterval()
Interval between the checks in seconds (default: 10) minimum: 5 maximum: 300ElasticIpHealthcheck.ModeEnum
getMode()
Health check modeLong
getPort()
Health check port minimum: 1 maximum: 65535Long
getStrikesFail()
Number of attempts before considering the target unhealthy (default: 3) minimum: 1 maximum: 20Long
getStrikesOk()
Number of attempts before considering the target healthy (default: 2) minimum: 1 maximum: 20Long
getTimeout()
Health check timeout value in seconds (default: 2) minimum: 2 maximum: 60Boolean
getTlsSkipVerify()
Skip TLS verificationString
getTlsSni()
An optional domain or subdomain to check TLS againstString
getUri()
An endpoint to use for the health check, for example '/status'int
hashCode()
ElasticIpHealthcheck
interval(Long interval)
ElasticIpHealthcheck
mode(ElasticIpHealthcheck.ModeEnum mode)
ElasticIpHealthcheck
port(Long port)
void
setInterval(Long interval)
void
setMode(ElasticIpHealthcheck.ModeEnum mode)
void
setPort(Long port)
void
setStrikesFail(Long strikesFail)
void
setStrikesOk(Long strikesOk)
void
setTimeout(Long timeout)
void
setTlsSkipVerify(Boolean tlsSkipVerify)
void
setTlsSni(String tlsSni)
void
setUri(String uri)
ElasticIpHealthcheck
strikesFail(Long strikesFail)
ElasticIpHealthcheck
strikesOk(Long strikesOk)
ElasticIpHealthcheck
timeout(Long timeout)
ElasticIpHealthcheck
tlsSkipVerify(Boolean tlsSkipVerify)
ElasticIpHealthcheck
tlsSni(String tlsSni)
String
toString()
String
toUrlQueryString()
Convert the instance into URL query string.String
toUrlQueryString(String prefix)
Convert the instance into URL query string.ElasticIpHealthcheck
uri(String uri)
-
-
-
Field Detail
-
JSON_PROPERTY_STRIKES_OK
public static final String JSON_PROPERTY_STRIKES_OK
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TLS_SKIP_VERIFY
public static final String JSON_PROPERTY_TLS_SKIP_VERIFY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TLS_SNI
public static final String JSON_PROPERTY_TLS_SNI
- See Also:
- Constant Field Values
-
JSON_PROPERTY_STRIKES_FAIL
public static final String JSON_PROPERTY_STRIKES_FAIL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MODE
public static final String JSON_PROPERTY_MODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PORT
public static final String JSON_PROPERTY_PORT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_URI
public static final String JSON_PROPERTY_URI
- See Also:
- Constant Field Values
-
JSON_PROPERTY_INTERVAL
public static final String JSON_PROPERTY_INTERVAL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TIMEOUT
public static final String JSON_PROPERTY_TIMEOUT
- See Also:
- Constant Field Values
-
-
Method Detail
-
strikesOk
public ElasticIpHealthcheck strikesOk(Long strikesOk)
-
getStrikesOk
@Nullable public Long getStrikesOk()
Number of attempts before considering the target healthy (default: 2) minimum: 1 maximum: 20- Returns:
- strikesOk
-
setStrikesOk
public void setStrikesOk(Long strikesOk)
-
tlsSkipVerify
public ElasticIpHealthcheck tlsSkipVerify(Boolean tlsSkipVerify)
-
getTlsSkipVerify
@Nullable public Boolean getTlsSkipVerify()
Skip TLS verification- Returns:
- tlsSkipVerify
-
setTlsSkipVerify
public void setTlsSkipVerify(Boolean tlsSkipVerify)
-
tlsSni
public ElasticIpHealthcheck tlsSni(String tlsSni)
-
getTlsSni
@Nullable public String getTlsSni()
An optional domain or subdomain to check TLS against- Returns:
- tlsSni
-
setTlsSni
public void setTlsSni(String tlsSni)
-
strikesFail
public ElasticIpHealthcheck strikesFail(Long strikesFail)
-
getStrikesFail
@Nullable public Long getStrikesFail()
Number of attempts before considering the target unhealthy (default: 3) minimum: 1 maximum: 20- Returns:
- strikesFail
-
setStrikesFail
public void setStrikesFail(Long strikesFail)
-
mode
public ElasticIpHealthcheck mode(ElasticIpHealthcheck.ModeEnum mode)
-
getMode
@Nonnull public ElasticIpHealthcheck.ModeEnum getMode()
Health check mode- Returns:
- mode
-
setMode
public void setMode(ElasticIpHealthcheck.ModeEnum mode)
-
port
public ElasticIpHealthcheck port(Long port)
-
getPort
@Nonnull public Long getPort()
Health check port minimum: 1 maximum: 65535- Returns:
- port
-
setPort
public void setPort(Long port)
-
uri
public ElasticIpHealthcheck uri(String uri)
-
getUri
@Nullable public String getUri()
An endpoint to use for the health check, for example '/status'- Returns:
- uri
-
setUri
public void setUri(String uri)
-
interval
public ElasticIpHealthcheck interval(Long interval)
-
getInterval
@Nullable public Long getInterval()
Interval between the checks in seconds (default: 10) minimum: 5 maximum: 300- Returns:
- interval
-
setInterval
public void setInterval(Long interval)
-
timeout
public ElasticIpHealthcheck timeout(Long timeout)
-
getTimeout
@Nullable public Long getTimeout()
Health check timeout value in seconds (default: 2) minimum: 2 maximum: 60- Returns:
- timeout
-
setTimeout
public void setTimeout(Long timeout)
-
equals
public boolean equals(Object o)
Return true if this elastic-ip-healthcheck object is equal to o.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-