public enum AvailabilityZoneState extends Enum<AvailabilityZoneState>
Enum Constant and Description |
---|
Available |
Impaired |
Information |
Unavailable |
Modifier and Type | Method and Description |
---|---|
static AvailabilityZoneState |
fromValue(String value)
Use this in place of valueOf.
|
String |
toString() |
static AvailabilityZoneState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AvailabilityZoneState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AvailabilityZoneState Available
public static final AvailabilityZoneState Information
public static final AvailabilityZoneState Impaired
public static final AvailabilityZoneState Unavailable
public static AvailabilityZoneState[] values()
for (AvailabilityZoneState c : AvailabilityZoneState.values()) System.out.println(c);
public static AvailabilityZoneState 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 toString()
toString
in class Enum<AvailabilityZoneState>
public static AvailabilityZoneState fromValue(String value)
value
- real valueCopyright © 2010–2020. All rights reserved.