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 Details

  • Constructor Details

    • V1LifecycleHandler

      public V1LifecycleHandler()
  • Method Details

    • getExec

      public V1ExecAction getExec()
      Returns:
      the exec property value
    • setExec

      public void setExec(V1ExecAction exec)
      Set the exec property value
    • exec

      public V1LifecycleHandler exec(V1ExecAction exec)
      Set exec in a chainable fashion.
      Returns:
      The same instance of V1LifecycleHandler for chaining.
    • getHttpGet

      public V1HTTPGetAction getHttpGet()
      Returns:
      the httpGet property value
    • setHttpGet

      public void setHttpGet(V1HTTPGetAction httpGet)
      Set the httpGet property value
    • httpGet

      public V1LifecycleHandler httpGet(V1HTTPGetAction httpGet)
      Set httpGet in a chainable fashion.
      Returns:
      The same instance of V1LifecycleHandler for chaining.
    • getTcpSocket

      public V1TCPSocketAction getTcpSocket()
      Returns:
      the tcpSocket property value
    • setTcpSocket

      public void setTcpSocket(V1TCPSocketAction tcpSocket)
      Set the tcpSocket property value
    • tcpSocket

      public V1LifecycleHandler tcpSocket(V1TCPSocketAction tcpSocket)
      Set tcpSocket in a chainable fashion.
      Returns:
      The same instance of V1LifecycleHandler for chaining.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object