Package io.fabric8.kubernetes.api.model
Class LifecycleHandler
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.LifecycleHandler
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<LifecycleHandlerBuilder>
,KubernetesResource
,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class LifecycleHandler extends Object implements io.fabric8.kubernetes.api.builder.Editable<LifecycleHandlerBuilder>, KubernetesResource
LifecycleHandler defines a specific action that should be taken in a lifecycle hook. One and only one of the fields, except TCPSocket must be specified.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LifecycleHandler()
No args constructor for use in serializationLifecycleHandler(ExecAction exec, HTTPGetAction httpGet, SleepAction sleep, TCPSocketAction tcpSocket)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LifecycleHandlerBuilder
edit()
Map<String,Object>
getAdditionalProperties()
ExecAction
getExec()
LifecycleHandler defines a specific action that should be taken in a lifecycle hook.HTTPGetAction
getHttpGet()
LifecycleHandler defines a specific action that should be taken in a lifecycle hook.SleepAction
getSleep()
LifecycleHandler defines a specific action that should be taken in a lifecycle hook.TCPSocketAction
getTcpSocket()
LifecycleHandler defines a specific action that should be taken in a lifecycle hook.void
setAdditionalProperties(Map<String,Object> additionalProperties)
void
setAdditionalProperty(String name, Object value)
void
setExec(ExecAction exec)
LifecycleHandler defines a specific action that should be taken in a lifecycle hook.void
setHttpGet(HTTPGetAction httpGet)
LifecycleHandler defines a specific action that should be taken in a lifecycle hook.void
setSleep(SleepAction sleep)
LifecycleHandler defines a specific action that should be taken in a lifecycle hook.void
setTcpSocket(TCPSocketAction tcpSocket)
LifecycleHandler defines a specific action that should be taken in a lifecycle hook.LifecycleHandlerBuilder
toBuilder()
-
-
-
Constructor Detail
-
LifecycleHandler
public LifecycleHandler()
No args constructor for use in serialization
-
LifecycleHandler
public LifecycleHandler(ExecAction exec, HTTPGetAction httpGet, SleepAction sleep, TCPSocketAction tcpSocket)
-
-
Method Detail
-
getExec
public ExecAction getExec()
LifecycleHandler defines a specific action that should be taken in a lifecycle hook. One and only one of the fields, except TCPSocket must be specified.
-
setExec
public void setExec(ExecAction exec)
LifecycleHandler defines a specific action that should be taken in a lifecycle hook. One and only one of the fields, except TCPSocket must be specified.
-
getHttpGet
public HTTPGetAction getHttpGet()
LifecycleHandler defines a specific action that should be taken in a lifecycle hook. One and only one of the fields, except TCPSocket must be specified.
-
setHttpGet
public void setHttpGet(HTTPGetAction httpGet)
LifecycleHandler defines a specific action that should be taken in a lifecycle hook. One and only one of the fields, except TCPSocket must be specified.
-
getSleep
public SleepAction getSleep()
LifecycleHandler defines a specific action that should be taken in a lifecycle hook. One and only one of the fields, except TCPSocket must be specified.
-
setSleep
public void setSleep(SleepAction sleep)
LifecycleHandler defines a specific action that should be taken in a lifecycle hook. One and only one of the fields, except TCPSocket must be specified.
-
getTcpSocket
public TCPSocketAction getTcpSocket()
LifecycleHandler defines a specific action that should be taken in a lifecycle hook. One and only one of the fields, except TCPSocket must be specified.
-
setTcpSocket
public void setTcpSocket(TCPSocketAction tcpSocket)
LifecycleHandler defines a specific action that should be taken in a lifecycle hook. One and only one of the fields, except TCPSocket must be specified.
-
edit
public LifecycleHandlerBuilder edit()
- Specified by:
edit
in interfaceio.fabric8.kubernetes.api.builder.Editable<LifecycleHandlerBuilder>
-
toBuilder
public LifecycleHandlerBuilder toBuilder()
-
-