public enum AvailabilityZone extends Enum<AvailabilityZone>
Enum Constant and Description |
---|
AUTO |
UNRECOGNIZED |
ZONE_1 |
ZONE_2 |
Modifier and Type | Method and Description |
---|---|
static AvailabilityZone |
fromValue(String v) |
String |
value() |
static AvailabilityZone |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AvailabilityZone[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AvailabilityZone AUTO
public static final AvailabilityZone ZONE_1
public static final AvailabilityZone ZONE_2
public static final AvailabilityZone UNRECOGNIZED
public static AvailabilityZone[] values()
for (AvailabilityZone c : AvailabilityZone.values()) System.out.println(c);
public static AvailabilityZone 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 static AvailabilityZone fromValue(String v)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.