Package org.cdk8s.plus25.k8s
Interface PersistentVolumeClaimTemplate
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
PersistentVolumeClaimTemplate.Jsii$Proxy
@Generated(value="jsii-pacmak/1.88.0 (build eaabd08)", date="2023-09-11T06:17:58.762Z") @Stability(Stable) public interface PersistentVolumeClaimTemplate extends software.amazon.jsii.JsiiSerializable
PersistentVolumeClaimTemplate is used to produce PersistentVolumeClaim objects as part of an EphemeralVolumeSource.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPersistentVolumeClaimTemplate.BuilderA builder forPersistentVolumeClaimTemplatestatic classPersistentVolumeClaimTemplate.Jsii$ProxyAn implementation forPersistentVolumeClaimTemplate
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static PersistentVolumeClaimTemplate.Builderbuilder()default ObjectMetagetMetadata()May contain labels and annotations that will be copied into the PVC when creating it.PersistentVolumeClaimSpecgetSpec()The specification for the PersistentVolumeClaim.
-
-
-
Method Detail
-
getSpec
@Stability(Stable) @NotNull PersistentVolumeClaimSpec getSpec()
The specification for the PersistentVolumeClaim.The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here.
-
getMetadata
@Stability(Stable) @Nullable default ObjectMeta getMetadata()
May contain labels and annotations that will be copied into the PVC when creating it.No other fields are allowed and will be rejected during validation.
-
builder
@Stability(Stable) static PersistentVolumeClaimTemplate.Builder builder()
-
-