Package nl.jpoint.vertx.deploy.agent.aws
Enum AwsState
- java.lang.Object
-
- java.lang.Enum<AwsState>
-
- nl.jpoint.vertx.deploy.agent.aws.AwsState
-
- All Implemented Interfaces:
Serializable,Comparable<AwsState>
public enum AwsState extends Enum<AwsState>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ENTERINGSTANDBYINSERVICENOTREGISTEREDOUTOFSERVICEPENDINGSTANDBYTERMINATINGUNKNOWN
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AwsStatemap(String state)static AwsStatevalueOf(String name)Returns the enum constant of this type with the specified name.static AwsState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final AwsState UNKNOWN
-
TERMINATING
public static final AwsState TERMINATING
-
OUTOFSERVICE
public static final AwsState OUTOFSERVICE
-
INSERVICE
public static final AwsState INSERVICE
-
NOTREGISTERED
public static final AwsState NOTREGISTERED
-
PENDING
public static final AwsState PENDING
-
STANDBY
public static final AwsState STANDBY
-
ENTERINGSTANDBY
public static final AwsState ENTERINGSTANDBY
-
-
Method Detail
-
values
public static AwsState[] 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 (AwsState c : AwsState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AwsState 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 nameNullPointerException- if the argument is null
-
-