Package org.cdk8s.plus24
Class EmptyDirVolumeOptions.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus24.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.plus24.EmptyDirVolumeOptions
EmptyDirVolumeOptions.Builder, EmptyDirVolumeOptions.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Jsii$Proxy(EmptyDirVolumeOptions.Builder builder)
Constructor that initializes the object based on literal property values passed by theEmptyDirVolumeOptions.Builder
.protected
Jsii$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()
boolean
equals(Object o)
EmptyDirMedium
getMedium()
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.Size
getSizeLimit()
Total amount of local storage required for this EmptyDir volume.int
hashCode()
-
-
-
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:EmptyDirVolumeOptions
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.However, you can set the emptyDir.medium field to
EmptyDirMedium.MEMORY
to 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:
getMedium
in interfaceEmptyDirVolumeOptions
-
getSizeLimit
public final org.cdk8s.Size getSizeLimit()
Description copied from interface:EmptyDirVolumeOptions
Total 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:
getSizeLimit
in interfaceEmptyDirVolumeOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
-