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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
exec
(V1ExecAction exec) Set exec in a chainable fashion.getExec()
int
hashCode()
httpGet
(V1HTTPGetAction httpGet) Set httpGet in a chainable fashion.void
setExec
(V1ExecAction exec) Set the exec property valuevoid
setHttpGet
(V1HTTPGetAction httpGet) Set the httpGet property valuevoid
setTcpSocket
(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- 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.
-
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
-