com.atlassian.aws.ec2
Enum EC2InstanceState

java.lang.Object
  extended by java.lang.Enum<EC2InstanceState>
      extended by com.atlassian.aws.ec2.EC2InstanceState
All Implemented Interfaces:
Serializable, Comparable<EC2InstanceState>

public enum EC2InstanceState
extends Enum<EC2InstanceState>


Enum Constant Summary
BIDDING
           
FAILED_TO_START
           
INITIAL
           
PENDING
           
RUNNING
           
SHUTTING_DOWN
           
STOPPED
           
STOPPING
           
TERMINATED
           
UNKNOWN
           
 
Method Summary
static EC2InstanceState valueOf(String name)
          Returns the enum constant of this type with the specified name.
static EC2InstanceState[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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.