@Generated(value="org.jsonschema2pojo") public class Probe extends Object implements KubernetesResource
Constructor and Description |
---|
Probe()
No args constructor for use in serialization
|
Probe(ExecAction exec,
Integer failureThreshold,
HTTPGetAction httpGet,
Integer initialDelaySeconds,
Integer periodSeconds,
Integer successThreshold,
TCPSocketAction tcpSocket,
Integer timeoutSeconds) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getAdditionalProperties() |
ExecAction |
getExec() |
Integer |
getFailureThreshold() |
HTTPGetAction |
getHttpGet() |
Integer |
getInitialDelaySeconds() |
Integer |
getPeriodSeconds() |
Integer |
getSuccessThreshold() |
TCPSocketAction |
getTcpSocket() |
Integer |
getTimeoutSeconds() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setExec(ExecAction exec) |
void |
setFailureThreshold(Integer failureThreshold) |
void |
setHttpGet(HTTPGetAction httpGet) |
void |
setInitialDelaySeconds(Integer initialDelaySeconds) |
void |
setPeriodSeconds(Integer periodSeconds) |
void |
setSuccessThreshold(Integer successThreshold) |
void |
setTcpSocket(TCPSocketAction tcpSocket) |
void |
setTimeoutSeconds(Integer timeoutSeconds) |
public Probe()
public Probe(ExecAction exec, Integer failureThreshold, HTTPGetAction httpGet, Integer initialDelaySeconds, Integer periodSeconds, Integer successThreshold, TCPSocketAction tcpSocket, Integer timeoutSeconds)
failureThreshold
- periodSeconds
- tcpSocket
- timeoutSeconds
- successThreshold
- initialDelaySeconds
- exec
- httpGet
- public ExecAction getExec()
public void setExec(ExecAction exec)
exec
- The execpublic Integer getFailureThreshold()
public void setFailureThreshold(Integer failureThreshold)
failureThreshold
- The failureThresholdpublic HTTPGetAction getHttpGet()
public void setHttpGet(HTTPGetAction httpGet)
httpGet
- The httpGetpublic Integer getInitialDelaySeconds()
public void setInitialDelaySeconds(Integer initialDelaySeconds)
initialDelaySeconds
- The initialDelaySecondspublic Integer getPeriodSeconds()
public void setPeriodSeconds(Integer periodSeconds)
periodSeconds
- The periodSecondspublic Integer getSuccessThreshold()
public void setSuccessThreshold(Integer successThreshold)
successThreshold
- The successThresholdpublic TCPSocketAction getTcpSocket()
public void setTcpSocket(TCPSocketAction tcpSocket)
tcpSocket
- The tcpSocketpublic Integer getTimeoutSeconds()
public void setTimeoutSeconds(Integer timeoutSeconds)
timeoutSeconds
- The timeoutSecondsCopyright © 2011–2018 Red Hat. All rights reserved.