@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public enum TargetHealthReason extends Enum<TargetHealthReason>
| Enum Constant and Description |
|---|
AUTH_FAILURE |
CONNECTION_FAILED |
INVALID_REPLICATION_STATE |
PENDING_PROXY_CAPACITY |
UNREACHABLE |
| Modifier and Type | Method and Description |
|---|---|
static TargetHealthReason |
fromValue(String value)
Use this in place of valueOf.
|
String |
toString() |
static TargetHealthReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TargetHealthReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TargetHealthReason UNREACHABLE
public static final TargetHealthReason CONNECTION_FAILED
public static final TargetHealthReason AUTH_FAILURE
public static final TargetHealthReason PENDING_PROXY_CAPACITY
public static final TargetHealthReason INVALID_REPLICATION_STATE
public static TargetHealthReason[] values()
for (TargetHealthReason c : TargetHealthReason.values()) System.out.println(c);
public static TargetHealthReason 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<TargetHealthReason>public static TargetHealthReason fromValue(String value)
value - real valueIllegalArgumentException - If the specified value does not map to one of the known values in this enum.