Package org.cdk8s.plus23
Class EmptyDirVolumeOptions.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus23.EmptyDirVolumeOptions.Jsii$Proxy
-
- All Implemented Interfaces:
EmptyDirVolumeOptions,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- EmptyDirVolumeOptions
@Stability(Stable) @Internal public static final class EmptyDirVolumeOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements EmptyDirVolumeOptions
An implementation forEmptyDirVolumeOptions
-
-
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.plus23.EmptyDirVolumeOptions
EmptyDirVolumeOptions.Builder, EmptyDirVolumeOptions.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(EmptyDirVolumeOptions.Builder builder)Constructor that initializes the object based on literal property values passed by theEmptyDirVolumeOptions.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)EmptyDirMediumgetMedium()By default, emptyDir volumes are stored on whatever medium is backing the node - that might be disk or SSD or network storage, depending on your environment.org.cdk8s.SizegetSizeLimit()Total amount of local storage required for this EmptyDir 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(EmptyDirVolumeOptions.Builder builder)
Constructor that initializes the object based on literal property values passed by theEmptyDirVolumeOptions.Builder.
-
-
Method Detail
-
getMedium
public final EmptyDirMedium getMedium()
Description copied from interface:EmptyDirVolumeOptionsBy default, emptyDir volumes are stored on whatever medium is backing the node - that might be disk or SSD or network storage, depending on your environment.However, you can set the emptyDir.medium field to
EmptyDirMedium.MEMORYto tell Kubernetes to mount a tmpfs (RAM-backed filesystem) for you instead. While tmpfs is very fast, be aware that unlike disks, tmpfs is cleared on node reboot and any files you write will count against your Container's memory limit.Default: EmptyDirMedium.DEFAULT
- Specified by:
getMediumin interfaceEmptyDirVolumeOptions
-
getSizeLimit
public final org.cdk8s.Size getSizeLimit()
Description copied from interface:EmptyDirVolumeOptionsTotal amount of local storage required for this EmptyDir volume.The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod.
Default: - limit is undefined
- Specified by:
getSizeLimitin interfaceEmptyDirVolumeOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-