Package com.exoscale.sdk.model
Class LoadBalancerServiceHealthcheck
- java.lang.Object
-
- com.exoscale.sdk.model.LoadBalancerServiceHealthcheck
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class LoadBalancerServiceHealthcheck extends Object
Load Balancer Service healthcheck
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LoadBalancerServiceHealthcheck.ModeEnum
Healthcheck 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_RETRIES
static String
JSON_PROPERTY_TIMEOUT
static String
JSON_PROPERTY_TLS_SNI
static String
JSON_PROPERTY_URI
-
Constructor Summary
Constructors Constructor Description LoadBalancerServiceHealthcheck()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Return true if this load-balancer-service-healthcheck object is equal to o.Long
getInterval()
Healthcheck interval (default: 10).LoadBalancerServiceHealthcheck.ModeEnum
getMode()
Healthcheck modeLong
getPort()
Healthcheck port minimum: 1 maximum: 65535Long
getRetries()
Number of retries before considering a Service failed minimum: 1 maximum: 20Long
getTimeout()
Healthcheck timeout value (default: 2).String
getTlsSni()
SNI domain for HTTPS healthchecksString
getUri()
An endpoint to use for the HTTP healthcheck, e.g.int
hashCode()
LoadBalancerServiceHealthcheck
interval(Long interval)
LoadBalancerServiceHealthcheck
mode(LoadBalancerServiceHealthcheck.ModeEnum mode)
LoadBalancerServiceHealthcheck
port(Long port)
LoadBalancerServiceHealthcheck
retries(Long retries)
void
setInterval(Long interval)
void
setMode(LoadBalancerServiceHealthcheck.ModeEnum mode)
void
setPort(Long port)
void
setRetries(Long retries)
void
setTimeout(Long timeout)
void
setTlsSni(String tlsSni)
void
setUri(String uri)
LoadBalancerServiceHealthcheck
timeout(Long timeout)
LoadBalancerServiceHealthcheck
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.LoadBalancerServiceHealthcheck
uri(String uri)
-
-
-
Field Detail
-
JSON_PROPERTY_MODE
public static final String JSON_PROPERTY_MODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_INTERVAL
public static final String JSON_PROPERTY_INTERVAL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_URI
public static final String JSON_PROPERTY_URI
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PORT
public static final String JSON_PROPERTY_PORT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TIMEOUT
public static final String JSON_PROPERTY_TIMEOUT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RETRIES
public static final String JSON_PROPERTY_RETRIES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TLS_SNI
public static final String JSON_PROPERTY_TLS_SNI
- See Also:
- Constant Field Values
-
-
Method Detail
-
mode
public LoadBalancerServiceHealthcheck mode(LoadBalancerServiceHealthcheck.ModeEnum mode)
-
getMode
@Nullable public LoadBalancerServiceHealthcheck.ModeEnum getMode()
Healthcheck mode- Returns:
- mode
-
setMode
public void setMode(LoadBalancerServiceHealthcheck.ModeEnum mode)
-
interval
public LoadBalancerServiceHealthcheck interval(Long interval)
-
getInterval
@Nullable public Long getInterval()
Healthcheck interval (default: 10). Must be greater than or equal to Timeout minimum: 5 maximum: 300- Returns:
- interval
-
setInterval
public void setInterval(Long interval)
-
uri
public LoadBalancerServiceHealthcheck uri(String uri)
-
getUri
@Nullable public String getUri()
An endpoint to use for the HTTP healthcheck, e.g. '/status'- Returns:
- uri
-
setUri
public void setUri(String uri)
-
port
public LoadBalancerServiceHealthcheck port(Long port)
-
getPort
@Nullable public Long getPort()
Healthcheck port minimum: 1 maximum: 65535- Returns:
- port
-
setPort
public void setPort(Long port)
-
timeout
public LoadBalancerServiceHealthcheck timeout(Long timeout)
-
getTimeout
@Nullable public Long getTimeout()
Healthcheck timeout value (default: 2). Must be lower than or equal to Interval minimum: 2 maximum: 60- Returns:
- timeout
-
setTimeout
public void setTimeout(Long timeout)
-
retries
public LoadBalancerServiceHealthcheck retries(Long retries)
-
getRetries
@Nullable public Long getRetries()
Number of retries before considering a Service failed minimum: 1 maximum: 20- Returns:
- retries
-
setRetries
public void setRetries(Long retries)
-
tlsSni
public LoadBalancerServiceHealthcheck tlsSni(String tlsSni)
-
getTlsSni
@Nullable public String getTlsSni()
SNI domain for HTTPS healthchecks- Returns:
- tlsSni
-
setTlsSni
public void setTlsSni(String tlsSni)
-
equals
public boolean equals(Object o)
Return true if this load-balancer-service-healthcheck object is equal to o.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-