@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:17.114Z") @Stability(value=Experimental) public enum SpotInstanceInterruption extends Enum<SpotInstanceInterruption>
| Enum Constant and Description |
|---|
HIBERNATE
(experimental) The instance will hibernate when interrupted.
|
STOP
(experimental) The instance will stop when interrupted.
|
TERMINATE
(experimental) The instance will be terminated when interrupted.
|
| Modifier and Type | Method and Description |
|---|---|
static SpotInstanceInterruption |
valueOf(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.
|
@Stability(value=Experimental) public static final SpotInstanceInterruption STOP
@Stability(value=Experimental) public static final SpotInstanceInterruption TERMINATE
@Stability(value=Experimental) public static final SpotInstanceInterruption HIBERNATE
public static SpotInstanceInterruption[] values()
for (SpotInstanceInterruption c : SpotInstanceInterruption.values()) System.out.println(c);
public static SpotInstanceInterruption valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2021. All rights reserved.