Class EphemeralVolumeSource.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus25.k8s.EphemeralVolumeSource.Jsii$Proxy
-
- All Implemented Interfaces:
EphemeralVolumeSource,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- EphemeralVolumeSource
@Stability(Stable) @Internal public static final class EphemeralVolumeSource.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements EphemeralVolumeSource
An implementation forEphemeralVolumeSource
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface org.cdk8s.plus25.k8s.EphemeralVolumeSource
EphemeralVolumeSource.Builder, EphemeralVolumeSource.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(EphemeralVolumeSource.Builder builder)Constructor that initializes the object based on literal property values passed by theEphemeralVolumeSource.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)PersistentVolumeClaimTemplategetVolumeClaimTemplate()Will be used to create a stand-alone PVC to provision the volume.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(EphemeralVolumeSource.Builder builder)
Constructor that initializes the object based on literal property values passed by theEphemeralVolumeSource.Builder.
-
-
Method Detail
-
getVolumeClaimTemplate
public final PersistentVolumeClaimTemplate getVolumeClaimTemplate()
Description copied from interface:EphemeralVolumeSourceWill be used to create a stand-alone PVC to provision the volume.The pod in which this EphemeralVolumeSource is embedded will be the owner of the PVC, i.e. the PVC will be deleted together with the pod. The name of the PVC will be
<pod name>-<volume name>where<volume name>is the name from thePodSpec.Volumesarray entry. Pod validation will reject the pod if the concatenated name is not valid for a PVC (for example, too long).An existing PVC with that name that is not owned by the pod will not be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster.
This field is read-only and no changes will be made by Kubernetes to the PVC after it has been created.
Required, must not be nil.
- Specified by:
getVolumeClaimTemplatein interfaceEphemeralVolumeSource
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-