Class V1LifecycleHandler
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1LifecycleHandler
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1LifecycleHandler
extends Object
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.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanexec(V1ExecAction exec) Set exec in a chainable fashion.getExec()getSleep()inthashCode()httpGet(V1HTTPGetAction httpGet) Set httpGet in a chainable fashion.voidsetExec(V1ExecAction exec) Set the exec property valuevoidsetHttpGet(V1HTTPGetAction httpGet) Set the httpGet property valuevoidsetSleep(V1SleepAction sleep) Set the sleep property valuevoidsetTcpSocket(V1TCPSocketAction tcpSocket) Set the tcpSocket property valuesleep(V1SleepAction sleep) Set sleep in a chainable fashion.tcpSocket(V1TCPSocketAction tcpSocket) Set tcpSocket in a chainable fashion.toString()
-
Field Details
-
JSON_PROPERTY_EXEC
- See Also:
-
JSON_PROPERTY_HTTP_GET
- See Also:
-
JSON_PROPERTY_SLEEP
- See Also:
-
JSON_PROPERTY_TCP_SOCKET
- See Also:
-
-
Constructor Details
-
V1LifecycleHandler
public V1LifecycleHandler()
-
-
Method Details
-
getExec
- Returns:
- the exec property value
-
setExec
Set the exec property value- Parameters:
exec- property value to set
-
exec
Set exec in a chainable fashion.- Returns:
- The same instance of V1LifecycleHandler for chaining.
-
getHttpGet
- Returns:
- the httpGet property value
-
setHttpGet
Set the httpGet property value- Parameters:
httpGet- property value to set
-
httpGet
Set httpGet in a chainable fashion.- Returns:
- The same instance of V1LifecycleHandler for chaining.
-
getSleep
- Returns:
- the sleep property value
-
setSleep
Set the sleep property value- Parameters:
sleep- property value to set
-
sleep
Set sleep in a chainable fashion.- Returns:
- The same instance of V1LifecycleHandler for chaining.
-
getTcpSocket
- Returns:
- the tcpSocket property value
-
setTcpSocket
Set the tcpSocket property value- Parameters:
tcpSocket- property value to set
-
tcpSocket
Set tcpSocket in a chainable fashion.- Returns:
- The same instance of V1LifecycleHandler for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-