Package io.fabric8.kubernetes.api.model
Class Probe
java.lang.Object
io.fabric8.kubernetes.api.model.Probe
- All Implemented Interfaces:
KubernetesResource,Serializable
@Generated("org.jsonschema2pojo") 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
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 Details
-
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 Details
-
getExec
- Returns:
- The exec
-
setExec
- Parameters:
exec- The exec
-
getFailureThreshold
- Returns:
- The failureThreshold
-
setFailureThreshold
- Parameters:
failureThreshold- The failureThreshold
-
getHttpGet
- Returns:
- The httpGet
-
setHttpGet
- Parameters:
httpGet- The httpGet
-
getInitialDelaySeconds
- Returns:
- The initialDelaySeconds
-
setInitialDelaySeconds
- Parameters:
initialDelaySeconds- The initialDelaySeconds
-
getPeriodSeconds
- Returns:
- The periodSeconds
-
setPeriodSeconds
- Parameters:
periodSeconds- The periodSeconds
-
getSuccessThreshold
- Returns:
- The successThreshold
-
setSuccessThreshold
- Parameters:
successThreshold- The successThreshold
-
getTcpSocket
- Returns:
- The tcpSocket
-
setTcpSocket
- Parameters:
tcpSocket- The tcpSocket
-
getTimeoutSeconds
- Returns:
- The timeoutSeconds
-
setTimeoutSeconds
- Parameters:
timeoutSeconds- The timeoutSeconds
-
getAdditionalProperties
-
setAdditionalProperty
-