Class EmptyDirVolume
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.batch.EksVolume
software.amazon.awscdk.services.batch.EmptyDirVolume
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:23:57.701Z")
@Stability(Stable)
public class EmptyDirVolume
extends EksVolume
A Kubernetes EmptyDir volume.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.*; import software.amazon.awscdk.services.batch.*; Size size; EmptyDirVolume emptyDirVolume = EmptyDirVolume.Builder.create() .name("name") // the properties below are optional .medium(EmptyDirMediumType.DISK) .mountPath("mountPath") .readonly(false) .sizeLimit(size) .build();
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Constructor Summary
ModifierConstructorDescriptionEmptyDirVolume
(EmptyDirVolumeOptions options) protected
EmptyDirVolume
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
EmptyDirVolume
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionThe storage type to use for this Volume.The maximum size for this Volume.static Boolean
Returnstrue
ifx
is an EmptyDirVolume,false
otherwise.Methods inherited from class software.amazon.awscdk.services.batch.EksVolume
emptyDir, getContainerPath, getName, getReadonly, hostPath, secret
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
EmptyDirVolume
protected EmptyDirVolume(software.amazon.jsii.JsiiObjectRef objRef) -
EmptyDirVolume
protected EmptyDirVolume(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
EmptyDirVolume
- Parameters:
options
- This parameter is required.
-
-
Method Details
-
isEmptyDirVolume
Returnstrue
ifx
is an EmptyDirVolume,false
otherwise.- Parameters:
x
- This parameter is required.
-
getMedium
The storage type to use for this Volume.Default: `EmptyDirMediumType.DISK`
-
getSizeLimit
The maximum size for this Volume.Default: - no size limit
-