Package io.fabric8.kubernetes.api.model
Class Probe
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.Probe
-
- All Implemented Interfaces:
KubernetesResource,Serializable
public class Probe extends Object implements KubernetesResource
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Probe()No args constructor for use in serializationProbe(ExecAction exec, Integer failureThreshold, HTTPGetAction httpGet, Integer initialDelaySeconds, Integer periodSeconds, Integer successThreshold, TCPSocketAction tcpSocket, Integer timeoutSeconds)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>getAdditionalProperties()ExecActiongetExec()IntegergetFailureThreshold()HTTPGetActiongetHttpGet()IntegergetInitialDelaySeconds()IntegergetPeriodSeconds()IntegergetSuccessThreshold()TCPSocketActiongetTcpSocket()IntegergetTimeoutSeconds()voidsetAdditionalProperty(String name, Object value)voidsetExec(ExecAction exec)voidsetFailureThreshold(Integer failureThreshold)voidsetHttpGet(HTTPGetAction httpGet)voidsetInitialDelaySeconds(Integer initialDelaySeconds)voidsetPeriodSeconds(Integer periodSeconds)voidsetSuccessThreshold(Integer successThreshold)voidsetTcpSocket(TCPSocketAction tcpSocket)voidsetTimeoutSeconds(Integer timeoutSeconds)
-
-
-
Constructor Detail
-
Probe
public Probe()
No args constructor for use in serialization
-
Probe
public Probe(ExecAction exec, Integer failureThreshold, HTTPGetAction httpGet, Integer initialDelaySeconds, Integer periodSeconds, Integer successThreshold, TCPSocketAction tcpSocket, Integer timeoutSeconds)
- Parameters:
failureThreshold-periodSeconds-tcpSocket-timeoutSeconds-successThreshold-initialDelaySeconds-exec-httpGet-
-
-
Method Detail
-
getExec
public ExecAction getExec()
-
setExec
public void setExec(ExecAction exec)
-
getFailureThreshold
public Integer getFailureThreshold()
-
setFailureThreshold
public void setFailureThreshold(Integer failureThreshold)
-
getHttpGet
public HTTPGetAction getHttpGet()
-
setHttpGet
public void setHttpGet(HTTPGetAction httpGet)
-
getInitialDelaySeconds
public Integer getInitialDelaySeconds()
-
setInitialDelaySeconds
public void setInitialDelaySeconds(Integer initialDelaySeconds)
-
getPeriodSeconds
public Integer getPeriodSeconds()
-
setPeriodSeconds
public void setPeriodSeconds(Integer periodSeconds)
-
getSuccessThreshold
public Integer getSuccessThreshold()
-
setSuccessThreshold
public void setSuccessThreshold(Integer successThreshold)
-
getTcpSocket
public TCPSocketAction getTcpSocket()
-
setTcpSocket
public void setTcpSocket(TCPSocketAction tcpSocket)
-
getTimeoutSeconds
public Integer getTimeoutSeconds()
-
setTimeoutSeconds
public void setTimeoutSeconds(Integer timeoutSeconds)
-
-