Class PersistentVolumeStatus

  • All Implemented Interfaces:
    com.marcnuri.yakc.model.Model

    public class PersistentVolumeStatus
    extends java.lang.Object
    implements com.marcnuri.yakc.model.Model
    PersistentVolumeStatus is the current status of a persistent volume.
    • Constructor Summary

      Constructors 
      Constructor Description
      PersistentVolumeStatus()  
      PersistentVolumeStatus​(java.time.OffsetDateTime lastPhaseTransitionTime, java.lang.String message, java.lang.String phase, java.lang.String reason)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static PersistentVolumeStatus.Builder builder()  
      protected boolean canEqual​(java.lang.Object other)  
      boolean equals​(java.lang.Object o)  
      java.time.OffsetDateTime getLastPhaseTransitionTime()  
      java.lang.String getMessage()
      message is a human-readable message indicating details about why the volume is in this state.
      java.lang.String getPhase()
      phase indicates if a volume is available, bound to a claim, or released by a claim.
      java.lang.String getReason()
      reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI.
      int hashCode()  
      void setLastPhaseTransitionTime​(java.time.OffsetDateTime lastPhaseTransitionTime)  
      void setMessage​(java.lang.String message)
      message is a human-readable message indicating details about why the volume is in this state.
      void setPhase​(java.lang.String phase)
      phase indicates if a volume is available, bound to a claim, or released by a claim.
      void setReason​(java.lang.String reason)
      reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI.
      PersistentVolumeStatus.Builder toBuilder()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • PersistentVolumeStatus

        public PersistentVolumeStatus​(java.time.OffsetDateTime lastPhaseTransitionTime,
                                      java.lang.String message,
                                      java.lang.String phase,
                                      java.lang.String reason)
      • PersistentVolumeStatus

        public PersistentVolumeStatus()
    • Method Detail

      • getLastPhaseTransitionTime

        public java.time.OffsetDateTime getLastPhaseTransitionTime()
      • getMessage

        public java.lang.String getMessage()
        message is a human-readable message indicating details about why the volume is in this state.
      • getPhase

        public java.lang.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
      • getReason

        public java.lang.String getReason()
        reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI.
      • setLastPhaseTransitionTime

        public void setLastPhaseTransitionTime​(java.time.OffsetDateTime lastPhaseTransitionTime)
      • setMessage

        public void setMessage​(java.lang.String message)
        message is a human-readable message indicating details about why the volume is in this state.
      • setPhase

        public void setPhase​(java.lang.String phase)
        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
      • setReason

        public void setReason​(java.lang.String reason)
        reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object