Package org.cdk8s.plus24.k8s
Interface PersistentVolumeClaimVolumeSource
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
PersistentVolumeClaimVolumeSource.Jsii$Proxy
@Generated(value="jsii-pacmak/1.85.0 (build 08ee592)", date="2023-07-25T00:18:39.462Z") @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 class
PersistentVolumeClaimVolumeSource.Builder
A builder forPersistentVolumeClaimVolumeSource
static class
PersistentVolumeClaimVolumeSource.Jsii$Proxy
An implementation forPersistentVolumeClaimVolumeSource
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static PersistentVolumeClaimVolumeSource.Builder
builder()
String
getClaimName()
claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume.default Boolean
getReadOnly()
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()
-
-