Class V1ContainerStateTerminated

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1ContainerStateTerminated extends Object
ContainerStateTerminated is a terminated state of a container.
  • Field Details

  • Constructor Details

    • V1ContainerStateTerminated

      public V1ContainerStateTerminated(Integer exitCode)
  • Method Details

    • getContainerID

      public String getContainerID()
      Container's ID in the format '<type>://<container_id>'
      Returns:
      the containerID property value
    • setContainerID

      public void setContainerID(String containerID)
      Set the containerID property value
    • containerID

      public V1ContainerStateTerminated containerID(String containerID)
      Set containerID in a chainable fashion.
      Returns:
      The same instance of V1ContainerStateTerminated for chaining.
    • getExitCode

      public Integer getExitCode()
      Exit status from the last termination of the container
      Returns:
      the exitCode property value
    • setExitCode

      public void setExitCode(Integer exitCode)
      Set the exitCode property value
    • exitCode

      public V1ContainerStateTerminated exitCode(Integer exitCode)
      Set exitCode in a chainable fashion.
      Returns:
      The same instance of V1ContainerStateTerminated for chaining.
    • getFinishedAt

      public ZonedDateTime getFinishedAt()
      Time at which the container last terminated
      Returns:
      the finishedAt property value
    • setFinishedAt

      public void setFinishedAt(ZonedDateTime finishedAt)
      Set the finishedAt property value
    • finishedAt

      public V1ContainerStateTerminated finishedAt(ZonedDateTime finishedAt)
      Set finishedAt in a chainable fashion.
      Returns:
      The same instance of V1ContainerStateTerminated for chaining.
    • getMessage

      public String getMessage()
      Message regarding the last termination of the container
      Returns:
      the message property value
    • setMessage

      public void setMessage(String message)
      Set the message property value
    • message

      public V1ContainerStateTerminated message(String message)
      Set message in a chainable fashion.
      Returns:
      The same instance of V1ContainerStateTerminated for chaining.
    • getReason

      public String getReason()
      (brief) reason from the last termination of the container
      Returns:
      the reason property value
    • setReason

      public void setReason(String reason)
      Set the reason property value
    • reason

      public V1ContainerStateTerminated reason(String reason)
      Set reason in a chainable fashion.
      Returns:
      The same instance of V1ContainerStateTerminated for chaining.
    • getSignal

      public Integer getSignal()
      Signal from the last termination of the container
      Returns:
      the signal property value
    • setSignal

      public void setSignal(Integer signal)
      Set the signal property value
    • signal

      public V1ContainerStateTerminated signal(Integer signal)
      Set signal in a chainable fashion.
      Returns:
      The same instance of V1ContainerStateTerminated for chaining.
    • getStartedAt

      public ZonedDateTime getStartedAt()
      Time at which previous execution of the container started
      Returns:
      the startedAt property value
    • setStartedAt

      public void setStartedAt(ZonedDateTime startedAt)
      Set the startedAt property value
    • startedAt

      public V1ContainerStateTerminated startedAt(ZonedDateTime startedAt)
      Set startedAt in a chainable fashion.
      Returns:
      The same instance of V1ContainerStateTerminated 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