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()inthashCode()httpGet(V1HTTPGetAction httpGet) Set httpGet in a chainable fashion.voidsetExec(V1ExecAction exec) Set the exec property valuevoidsetHttpGet(V1HTTPGetAction httpGet) Set the httpGet property valuevoidsetTcpSocket(V1TCPSocketAction tcpSocket) Set the tcpSocket property valuetcpSocket(V1TCPSocketAction tcpSocket) Set tcpSocket in a chainable fashion.toString()
-
Field Details
-
JSON_PROPERTY_EXEC
- See Also:
-
JSON_PROPERTY_HTTP_GET
- 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 -
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 -
httpGet
Set httpGet in a chainable fashion.- Returns:
- The same instance of V1LifecycleHandler for chaining.
-
getTcpSocket
- Returns:
- the tcpSocket property value
-
setTcpSocket
Set the tcpSocket property value -
tcpSocket
Set tcpSocket in a chainable fashion.- Returns:
- The same instance of V1LifecycleHandler for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-