Class PersistentVolumeStatus
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.core.v1.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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PersistentVolumeStatus.Builder
-
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()
-
-
-
Method Detail
-
builder
public static PersistentVolumeStatus.Builder builder()
-
toBuilder
public PersistentVolumeStatus.Builder toBuilder()
-
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 classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-