Package org.cdk8s.plus24
Enum EmptyDirMedium
- java.lang.Object
-
- java.lang.Enum<EmptyDirMedium>
-
- org.cdk8s.plus24.EmptyDirMedium
-
- All Implemented Interfaces:
Serializable
,Comparable<EmptyDirMedium>
@Generated(value="jsii-pacmak/1.75.0 (build 63bb957)", date="2023-02-21T02:37:35.213Z") @Stability(Stable) public enum EmptyDirMedium extends Enum<EmptyDirMedium>
The medium on which to store the volume.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EmptyDirMedium
valueOf(String name)
Returns the enum constant of this type with the specified name.static EmptyDirMedium[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEFAULT
@Stability(Stable) public static final EmptyDirMedium DEFAULT
The default volume of the backing node.
-
MEMORY
@Stability(Stable) public static final EmptyDirMedium MEMORY
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.
-
-
Method Detail
-
values
public static EmptyDirMedium[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EmptyDirMedium c : EmptyDirMedium.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EmptyDirMedium valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-