java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1Lifecycle

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1Lifecycle extends Object
Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted.
  • Field Details

  • Constructor Details

    • V1Lifecycle

      public V1Lifecycle()
  • Method Details

    • getPostStart

      public V1LifecycleHandler getPostStart()
      Returns:
      the postStart property value
    • setPostStart

      public void setPostStart(V1LifecycleHandler postStart)
      Set the postStart property value
    • postStart

      public V1Lifecycle postStart(V1LifecycleHandler postStart)
      Set postStart in a chainable fashion.
      Returns:
      The same instance of V1Lifecycle for chaining.
    • getPreStop

      public V1LifecycleHandler getPreStop()
      Returns:
      the preStop property value
    • setPreStop

      public void setPreStop(V1LifecycleHandler preStop)
      Set the preStop property value
    • preStop

      public V1Lifecycle preStop(V1LifecycleHandler preStop)
      Set preStop in a chainable fashion.
      Returns:
      The same instance of V1Lifecycle 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