Class V1LifecycleHandler
java.lang.Object
io.kubernetes.client.openapi.models.V1LifecycleHandler
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-12-05T08:14:34.919Z[Etc/UTC]")
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 TypeMethodDescriptionboolean
exec
(V1ExecAction exec) getExec()
Get execGet httpGetGet tcpSocketint
hashCode()
httpGet
(V1HTTPGetAction httpGet) void
setExec
(V1ExecAction exec) void
setHttpGet
(V1HTTPGetAction httpGet) void
setTcpSocket
(V1TCPSocketAction tcpSocket) tcpSocket
(V1TCPSocketAction tcpSocket) toString()
-
Field Details
-
SERIALIZED_NAME_EXEC
- See Also:
-
SERIALIZED_NAME_HTTP_GET
- See Also:
-
SERIALIZED_NAME_TCP_SOCKET
- See Also:
-
-
Constructor Details
-
V1LifecycleHandler
public V1LifecycleHandler()
-
-
Method Details
-
exec
-
getExec
Get exec- Returns:
- exec
-
setExec
-
httpGet
-
getHttpGet
Get httpGet- Returns:
- httpGet
-
setHttpGet
-
tcpSocket
-
getTcpSocket
Get tcpSocket- Returns:
- tcpSocket
-
setTcpSocket
-
equals
-
hashCode
public int hashCode() -
toString
-