Package io.fabric8.kubernetes.api.model
Class ProbeFluentImpl<A extends ProbeFluent<A>>
- java.lang.Object
-
- io.fabric8.kubernetes.api.builder.BaseFluent<A>
-
- io.fabric8.kubernetes.api.model.ProbeFluentImpl<A>
-
- All Implemented Interfaces:
Fluent<A>
,Visitable<A>
,ProbeFluent<A>
- Direct Known Subclasses:
ContainerFluentImpl.LivenessProbeNestedImpl
,ContainerFluentImpl.ReadinessProbeNestedImpl
,ContainerFluentImpl.StartupProbeNestedImpl
,EphemeralContainerFluentImpl.LivenessProbeNestedImpl
,EphemeralContainerFluentImpl.ReadinessProbeNestedImpl
,EphemeralContainerFluentImpl.StartupProbeNestedImpl
,ProbeBuilder
,WatchEventFluentImpl.ProbeObjectNestedImpl
public class ProbeFluentImpl<A extends ProbeFluent<A>> extends BaseFluent<A> implements ProbeFluent<A>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
ProbeFluentImpl.ExecNestedImpl<N>
class
ProbeFluentImpl.HttpGetNestedImpl<N>
class
ProbeFluentImpl.TcpSocketNestedImpl<N>
-
Nested classes/interfaces inherited from interface io.fabric8.kubernetes.api.model.ProbeFluent
ProbeFluent.ExecNested<N>, ProbeFluent.HttpGetNested<N>, ProbeFluent.TcpSocketNested<N>
-
-
Field Summary
-
Fields inherited from class io.fabric8.kubernetes.api.builder.BaseFluent
_visitables
-
-
Constructor Summary
Constructors Constructor Description ProbeFluentImpl()
ProbeFluentImpl(Probe instance)
-
Method Summary
-
-
-
Constructor Detail
-
ProbeFluentImpl
public ProbeFluentImpl()
-
ProbeFluentImpl
public ProbeFluentImpl(Probe instance)
-
-
Method Detail
-
getExec
@Deprecated public ExecAction getExec()
Deprecated.This method has been deprecated, please use method buildExec instead.- Specified by:
getExec
in interfaceProbeFluent<A extends ProbeFluent<A>>
- Returns:
- The buildable object.
-
buildExec
public ExecAction buildExec()
- Specified by:
buildExec
in interfaceProbeFluent<A extends ProbeFluent<A>>
-
withExec
public A withExec(ExecAction exec)
- Specified by:
withExec
in interfaceProbeFluent<A extends ProbeFluent<A>>
-
hasExec
public Boolean hasExec()
- Specified by:
hasExec
in interfaceProbeFluent<A extends ProbeFluent<A>>
-
withNewExec
public ProbeFluent.ExecNested<A> withNewExec()
- Specified by:
withNewExec
in interfaceProbeFluent<A extends ProbeFluent<A>>
-
withNewExecLike
public ProbeFluent.ExecNested<A> withNewExecLike(ExecAction item)
- Specified by:
withNewExecLike
in interfaceProbeFluent<A extends ProbeFluent<A>>
-
editExec
public ProbeFluent.ExecNested<A> editExec()
- Specified by:
editExec
in interfaceProbeFluent<A extends ProbeFluent<A>>
-
editOrNewExec
public ProbeFluent.ExecNested<A> editOrNewExec()
- Specified by:
editOrNewExec
in interfaceProbeFluent<A extends ProbeFluent<A>>
-
editOrNewExecLike
public ProbeFluent.ExecNested<A> editOrNewExecLike(ExecAction item)
- Specified by:
editOrNewExecLike
in interfaceProbeFluent<A extends ProbeFluent<A>>
-
getFailureThreshold
public Integer getFailureThreshold()
- Specified by:
getFailureThreshold
in interfaceProbeFluent<A extends ProbeFluent<A>>
-
withFailureThreshold
public A withFailureThreshold(Integer failureThreshold)
- Specified by:
withFailureThreshold
in interfaceProbeFluent<A extends ProbeFluent<A>>
-
hasFailureThreshold
public Boolean hasFailureThreshold()
- Specified by:
hasFailureThreshold
in interfaceProbeFluent<A extends ProbeFluent<A>>
-
getHttpGet
@Deprecated public HTTPGetAction getHttpGet()
Deprecated.This method has been deprecated, please use method buildHttpGet instead.- Specified by:
getHttpGet
in interfaceProbeFluent<A extends ProbeFluent<A>>
- Returns:
- The buildable object.
-
buildHttpGet
public HTTPGetAction buildHttpGet()
- Specified by:
buildHttpGet
in interfaceProbeFluent<A extends ProbeFluent<A>>
-
withHttpGet
public A withHttpGet(HTTPGetAction httpGet)
- Specified by:
withHttpGet
in interfaceProbeFluent<A extends ProbeFluent<A>>
-
hasHttpGet
public Boolean hasHttpGet()
- Specified by:
hasHttpGet
in interfaceProbeFluent<A extends ProbeFluent<A>>
-
withNewHttpGet
public ProbeFluent.HttpGetNested<A> withNewHttpGet()
- Specified by:
withNewHttpGet
in interfaceProbeFluent<A extends ProbeFluent<A>>
-
withNewHttpGetLike
public ProbeFluent.HttpGetNested<A> withNewHttpGetLike(HTTPGetAction item)
- Specified by:
withNewHttpGetLike
in interfaceProbeFluent<A extends ProbeFluent<A>>
-
editHttpGet
public ProbeFluent.HttpGetNested<A> editHttpGet()
- Specified by:
editHttpGet
in interfaceProbeFluent<A extends ProbeFluent<A>>
-
editOrNewHttpGet
public ProbeFluent.HttpGetNested<A> editOrNewHttpGet()
- Specified by:
editOrNewHttpGet
in interfaceProbeFluent<A extends ProbeFluent<A>>
-
editOrNewHttpGetLike
public ProbeFluent.HttpGetNested<A> editOrNewHttpGetLike(HTTPGetAction item)
- Specified by:
editOrNewHttpGetLike
in interfaceProbeFluent<A extends ProbeFluent<A>>
-
getInitialDelaySeconds
public Integer getInitialDelaySeconds()
- Specified by:
getInitialDelaySeconds
in interfaceProbeFluent<A extends ProbeFluent<A>>
-
withInitialDelaySeconds
public A withInitialDelaySeconds(Integer initialDelaySeconds)
- Specified by:
withInitialDelaySeconds
in interfaceProbeFluent<A extends ProbeFluent<A>>
-
hasInitialDelaySeconds
public Boolean hasInitialDelaySeconds()
- Specified by:
hasInitialDelaySeconds
in interfaceProbeFluent<A extends ProbeFluent<A>>
-
getPeriodSeconds
public Integer getPeriodSeconds()
- Specified by:
getPeriodSeconds
in interfaceProbeFluent<A extends ProbeFluent<A>>
-
withPeriodSeconds
public A withPeriodSeconds(Integer periodSeconds)
- Specified by:
withPeriodSeconds
in interfaceProbeFluent<A extends ProbeFluent<A>>
-
hasPeriodSeconds
public Boolean hasPeriodSeconds()
- Specified by:
hasPeriodSeconds
in interfaceProbeFluent<A extends ProbeFluent<A>>
-
getSuccessThreshold
public Integer getSuccessThreshold()
- Specified by:
getSuccessThreshold
in interfaceProbeFluent<A extends ProbeFluent<A>>
-
withSuccessThreshold
public A withSuccessThreshold(Integer successThreshold)
- Specified by:
withSuccessThreshold
in interfaceProbeFluent<A extends ProbeFluent<A>>
-
hasSuccessThreshold
public Boolean hasSuccessThreshold()
- Specified by:
hasSuccessThreshold
in interfaceProbeFluent<A extends ProbeFluent<A>>
-
getTcpSocket
@Deprecated public TCPSocketAction getTcpSocket()
Deprecated.This method has been deprecated, please use method buildTcpSocket instead.- Specified by:
getTcpSocket
in interfaceProbeFluent<A extends ProbeFluent<A>>
- Returns:
- The buildable object.
-
buildTcpSocket
public TCPSocketAction buildTcpSocket()
- Specified by:
buildTcpSocket
in interfaceProbeFluent<A extends ProbeFluent<A>>
-
withTcpSocket
public A withTcpSocket(TCPSocketAction tcpSocket)
- Specified by:
withTcpSocket
in interfaceProbeFluent<A extends ProbeFluent<A>>
-
hasTcpSocket
public Boolean hasTcpSocket()
- Specified by:
hasTcpSocket
in interfaceProbeFluent<A extends ProbeFluent<A>>
-
withNewTcpSocket
public ProbeFluent.TcpSocketNested<A> withNewTcpSocket()
- Specified by:
withNewTcpSocket
in interfaceProbeFluent<A extends ProbeFluent<A>>
-
withNewTcpSocketLike
public ProbeFluent.TcpSocketNested<A> withNewTcpSocketLike(TCPSocketAction item)
- Specified by:
withNewTcpSocketLike
in interfaceProbeFluent<A extends ProbeFluent<A>>
-
editTcpSocket
public ProbeFluent.TcpSocketNested<A> editTcpSocket()
- Specified by:
editTcpSocket
in interfaceProbeFluent<A extends ProbeFluent<A>>
-
editOrNewTcpSocket
public ProbeFluent.TcpSocketNested<A> editOrNewTcpSocket()
- Specified by:
editOrNewTcpSocket
in interfaceProbeFluent<A extends ProbeFluent<A>>
-
editOrNewTcpSocketLike
public ProbeFluent.TcpSocketNested<A> editOrNewTcpSocketLike(TCPSocketAction item)
- Specified by:
editOrNewTcpSocketLike
in interfaceProbeFluent<A extends ProbeFluent<A>>
-
getTimeoutSeconds
public Integer getTimeoutSeconds()
- Specified by:
getTimeoutSeconds
in interfaceProbeFluent<A extends ProbeFluent<A>>
-
withTimeoutSeconds
public A withTimeoutSeconds(Integer timeoutSeconds)
- Specified by:
withTimeoutSeconds
in interfaceProbeFluent<A extends ProbeFluent<A>>
-
hasTimeoutSeconds
public Boolean hasTimeoutSeconds()
- Specified by:
hasTimeoutSeconds
in interfaceProbeFluent<A extends ProbeFluent<A>>
-
-