Package org.cdk8s.plus24.k8s
Interface PersistentVolumeClaimTemplate
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
PersistentVolumeClaimTemplate.Jsii$Proxy
@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-13T15:58:20.150Z") @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 class
PersistentVolumeClaimTemplate.Builder
A builder forPersistentVolumeClaimTemplate
static class
PersistentVolumeClaimTemplate.Jsii$Proxy
An implementation forPersistentVolumeClaimTemplate
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static PersistentVolumeClaimTemplate.Builder
builder()
default ObjectMeta
getMetadata()
May contain labels and annotations that will be copied into the PVC when creating it.PersistentVolumeClaimSpec
getSpec()
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()
-
-