@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2021-01-04T09:55:14.976Z[Etc/UTC]") public class V1Probe extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SERIALIZED_NAME_EXEC |
static String |
SERIALIZED_NAME_FAILURE_THRESHOLD |
static String |
SERIALIZED_NAME_HTTP_GET |
static String |
SERIALIZED_NAME_INITIAL_DELAY_SECONDS |
static String |
SERIALIZED_NAME_PERIOD_SECONDS |
static String |
SERIALIZED_NAME_SUCCESS_THRESHOLD |
static String |
SERIALIZED_NAME_TCP_SOCKET |
static String |
SERIALIZED_NAME_TIMEOUT_SECONDS |
Constructor and Description |
---|
V1Probe() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
V1Probe |
exec(V1ExecAction exec) |
V1Probe |
failureThreshold(Integer failureThreshold) |
V1ExecAction |
getExec()
Get exec
|
Integer |
getFailureThreshold()
Minimum consecutive failures for the probe to be considered failed after having succeeded.
|
V1HTTPGetAction |
getHttpGet()
Get httpGet
|
Integer |
getInitialDelaySeconds()
Number of seconds after the container has started before liveness probes are initiated.
|
Integer |
getPeriodSeconds()
How often (in seconds) to perform the probe.
|
Integer |
getSuccessThreshold()
Minimum consecutive successes for the probe to be considered successful after having failed.
|
V1TCPSocketAction |
getTcpSocket()
Get tcpSocket
|
Integer |
getTimeoutSeconds()
Number of seconds after which the probe times out.
|
int |
hashCode() |
V1Probe |
httpGet(V1HTTPGetAction httpGet) |
V1Probe |
initialDelaySeconds(Integer initialDelaySeconds) |
V1Probe |
periodSeconds(Integer periodSeconds) |
void |
setExec(V1ExecAction exec) |
void |
setFailureThreshold(Integer failureThreshold) |
void |
setHttpGet(V1HTTPGetAction httpGet) |
void |
setInitialDelaySeconds(Integer initialDelaySeconds) |
void |
setPeriodSeconds(Integer periodSeconds) |
void |
setSuccessThreshold(Integer successThreshold) |
void |
setTcpSocket(V1TCPSocketAction tcpSocket) |
void |
setTimeoutSeconds(Integer timeoutSeconds) |
V1Probe |
successThreshold(Integer successThreshold) |
V1Probe |
tcpSocket(V1TCPSocketAction tcpSocket) |
V1Probe |
timeoutSeconds(Integer timeoutSeconds) |
String |
toString() |
public static final String SERIALIZED_NAME_EXEC
public static final String SERIALIZED_NAME_FAILURE_THRESHOLD
public static final String SERIALIZED_NAME_HTTP_GET
public static final String SERIALIZED_NAME_INITIAL_DELAY_SECONDS
public static final String SERIALIZED_NAME_PERIOD_SECONDS
public static final String SERIALIZED_NAME_SUCCESS_THRESHOLD
public static final String SERIALIZED_NAME_TCP_SOCKET
public static final String SERIALIZED_NAME_TIMEOUT_SECONDS
public V1Probe exec(V1ExecAction exec)
@Nullable public V1ExecAction getExec()
public void setExec(V1ExecAction exec)
@Nullable public Integer getFailureThreshold()
public void setFailureThreshold(Integer failureThreshold)
public V1Probe httpGet(V1HTTPGetAction httpGet)
@Nullable public V1HTTPGetAction getHttpGet()
public void setHttpGet(V1HTTPGetAction httpGet)
@Nullable public Integer getInitialDelaySeconds()
public void setInitialDelaySeconds(Integer initialDelaySeconds)
@Nullable public Integer getPeriodSeconds()
public void setPeriodSeconds(Integer periodSeconds)
@Nullable public Integer getSuccessThreshold()
public void setSuccessThreshold(Integer successThreshold)
public V1Probe tcpSocket(V1TCPSocketAction tcpSocket)
@Nullable public V1TCPSocketAction getTcpSocket()
public void setTcpSocket(V1TCPSocketAction tcpSocket)
@Nullable public Integer getTimeoutSeconds()
public void setTimeoutSeconds(Integer timeoutSeconds)
Copyright © 2021. All rights reserved.