@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)", date="2022-05-13T01:13:33.005Z") public enum SpotInstanceInterruption extends java.lang.Enum<SpotInstanceInterruption>
Enum Constant and Description |
---|
HIBERNATE
The instance will hibernate when interrupted.
|
STOP
The instance will stop when interrupted.
|
TERMINATE
The instance will be terminated when interrupted.
|
Modifier and Type | Method and Description |
---|---|
static SpotInstanceInterruption |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SpotInstanceInterruption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpotInstanceInterruption STOP
public static final SpotInstanceInterruption TERMINATE
public static final SpotInstanceInterruption HIBERNATE
public static SpotInstanceInterruption[] values()
for (SpotInstanceInterruption c : SpotInstanceInterruption.values()) System.out.println(c);
public static SpotInstanceInterruption valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null