![JAR search and dependency download from the Maven repository](/logo.png)
io.k8s.api.core.v1.PersistentVolumeStatus Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bl-k8s130 Show documentation
Show all versions of bl-k8s130 Show documentation
Programmatic resource management for Kubernetes
package io.k8s.api.core.v1;
import java.lang.String;
/**
* PersistentVolumeStatus is the current status of a persistent volume.
*/
public class PersistentVolumeStatus {
public String lastPhaseTransitionTime;
public String message;
public String phase;
public String reason;
/**
* Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
*/
public PersistentVolumeStatus lastPhaseTransitionTime(String lastPhaseTransitionTime) {
this.lastPhaseTransitionTime = lastPhaseTransitionTime;
return this;
}
/**
* message is a human-readable message indicating details about why the volume is in this state.
*/
public PersistentVolumeStatus message(String message) {
this.message = message;
return this;
}
/**
* 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
*/
public PersistentVolumeStatus phase(String phase) {
this.phase = phase;
return this;
}
/**
* reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI.
*/
public PersistentVolumeStatus reason(String reason) {
this.reason = reason;
return this;
}
public static PersistentVolumeStatus persistentVolumeStatus() {
return new PersistentVolumeStatus();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy