com.atlassian.aws.ec2
Enum EC2InstanceState
java.lang.Object
java.lang.Enum<EC2InstanceState>
com.atlassian.aws.ec2.EC2InstanceState
- All Implemented Interfaces:
- Serializable, Comparable<EC2InstanceState>
public enum EC2InstanceState
- extends Enum<EC2InstanceState>
INITIAL
public static final EC2InstanceState INITIAL
BIDDING
public static final EC2InstanceState BIDDING
PENDING
public static final EC2InstanceState PENDING
FAILED_TO_START
public static final EC2InstanceState FAILED_TO_START
RUNNING
public static final EC2InstanceState RUNNING
STOPPING
public static final EC2InstanceState STOPPING
STOPPED
public static final EC2InstanceState STOPPED
SHUTTING_DOWN
public static final EC2InstanceState SHUTTING_DOWN
TERMINATED
public static final EC2InstanceState TERMINATED
UNKNOWN
public static final EC2InstanceState UNKNOWN
values
public static EC2InstanceState[] 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 (EC2InstanceState c : EC2InstanceState.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static EC2InstanceState 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 name
NullPointerException - if the argument is null
Copyright © 2015 Atlassian. All rights reserved.