public static enum SpotInstanceRequest.State extends Enum<SpotInstanceRequest.State>
Enum Constant and Description |
---|
ACTIVE |
CANCELLED |
CLOSED |
OPEN |
UNRECOGNIZED |
Modifier and Type | Method and Description |
---|---|
static SpotInstanceRequest.State |
fromValue(String state) |
String |
toString() |
String |
value() |
static SpotInstanceRequest.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SpotInstanceRequest.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpotInstanceRequest.State OPEN
public static final SpotInstanceRequest.State ACTIVE
public static final SpotInstanceRequest.State CANCELLED
public static final SpotInstanceRequest.State CLOSED
public static final SpotInstanceRequest.State UNRECOGNIZED
public static SpotInstanceRequest.State[] values()
for (SpotInstanceRequest.State c : SpotInstanceRequest.State.values()) System.out.println(c);
public static SpotInstanceRequest.State 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 nullpublic String value()
public String toString()
toString
in class Enum<SpotInstanceRequest.State>
public static SpotInstanceRequest.State fromValue(String state)
Copyright © 2009-2021 The Apache Software Foundation. All Rights Reserved.