Package org.cdk8s.plus25.k8s
Interface PersistentVolumeClaimVolumeSource
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
PersistentVolumeClaimVolumeSource.Jsii$Proxy
@Generated(value="jsii-pacmak/1.88.0 (build eaabd08)", date="2023-09-11T06:17:58.763Z") @Stability(Stable) public interface PersistentVolumeClaimVolumeSource extends software.amazon.jsii.JsiiSerializable
PersistentVolumeClaimVolumeSource references the user's PVC in the same namespace.This volume finds the bound PV and mounts that volume for the pod. A PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another type of volume that is owned by someone else (the system).
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPersistentVolumeClaimVolumeSource.BuilderA builder forPersistentVolumeClaimVolumeSourcestatic classPersistentVolumeClaimVolumeSource.Jsii$ProxyAn implementation forPersistentVolumeClaimVolumeSource
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static PersistentVolumeClaimVolumeSource.Builderbuilder()StringgetClaimName()claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume.default BooleangetReadOnly()readOnly Will force the ReadOnly setting in VolumeMounts.
-
-
-
Method Detail
-
getClaimName
@Stability(Stable) @NotNull String getClaimName()
claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume.More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
-
getReadOnly
@Stability(Stable) @Nullable default Boolean getReadOnly()
readOnly Will force the ReadOnly setting in VolumeMounts.Default false.
-
builder
@Stability(Stable) static PersistentVolumeClaimVolumeSource.Builder builder()
-
-