Class V1PersistentVolumeStatus

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1PersistentVolumeStatus extends Object
PersistentVolumeStatus is the current status of a persistent volume.
  • Field Details

  • Constructor Details

    • V1PersistentVolumeStatus

      public V1PersistentVolumeStatus()
  • Method Details

    • getMessage

      public String getMessage()
      message is a human-readable message indicating details about why the volume is in this state.
      Returns:
      the message property value
    • setMessage

      public void setMessage(String message)
      Set the message property value
      Parameters:
      message - property value to set
    • message

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

      public String getPhase()
      phase indicates if a volume is available, bound to a claim, or released by a claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#phase
      Returns:
      the phase property value
    • setPhase

      public void setPhase(String phase)
      Set the phase property value
      Parameters:
      phase - property value to set
    • phase

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

      public String getReason()
      reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI.
      Returns:
      the reason property value
    • setReason

      public void setReason(String reason)
      Set the reason property value
      Parameters:
      reason - property value to set
    • reason

      public V1PersistentVolumeStatus reason(String reason)
      Set reason in a chainable fashion.
      Returns:
      The same instance of V1PersistentVolumeStatus 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