Enum InstanceHealthReason
- java.lang.Object
-
- java.lang.Enum<InstanceHealthReason>
-
- software.amazon.awssdk.services.lightsail.model.InstanceHealthReason
-
- All Implemented Interfaces:
Serializable,Comparable<InstanceHealthReason>
@Generated("software.amazon.awssdk:codegen") public enum InstanceHealthReason extends Enum<InstanceHealthReason>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InstanceHealthReasonfromValue(String value)Use this in place of valueOf to convert the raw string returned by the service into the enum value.static Set<InstanceHealthReason>knownValues()StringtoString()static InstanceHealthReasonvalueOf(String name)Returns the enum constant of this type with the specified name.static InstanceHealthReason[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LB_REGISTRATION_IN_PROGRESS
public static final InstanceHealthReason LB_REGISTRATION_IN_PROGRESS
-
LB_INITIAL_HEALTH_CHECKING
public static final InstanceHealthReason LB_INITIAL_HEALTH_CHECKING
-
LB_INTERNAL_ERROR
public static final InstanceHealthReason LB_INTERNAL_ERROR
-
INSTANCE_RESPONSE_CODE_MISMATCH
public static final InstanceHealthReason INSTANCE_RESPONSE_CODE_MISMATCH
-
INSTANCE_TIMEOUT
public static final InstanceHealthReason INSTANCE_TIMEOUT
-
INSTANCE_FAILED_HEALTH_CHECKS
public static final InstanceHealthReason INSTANCE_FAILED_HEALTH_CHECKS
-
INSTANCE_NOT_REGISTERED
public static final InstanceHealthReason INSTANCE_NOT_REGISTERED
-
INSTANCE_NOT_IN_USE
public static final InstanceHealthReason INSTANCE_NOT_IN_USE
-
INSTANCE_DEREGISTRATION_IN_PROGRESS
public static final InstanceHealthReason INSTANCE_DEREGISTRATION_IN_PROGRESS
-
INSTANCE_INVALID_STATE
public static final InstanceHealthReason INSTANCE_INVALID_STATE
-
INSTANCE_IP_UNUSABLE
public static final InstanceHealthReason INSTANCE_IP_UNUSABLE
-
UNKNOWN_TO_SDK_VERSION
public static final InstanceHealthReason UNKNOWN_TO_SDK_VERSION
-
-
Method Detail
-
values
public static InstanceHealthReason[] 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 (InstanceHealthReason c : InstanceHealthReason.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InstanceHealthReason 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
-
toString
public String toString()
- Overrides:
toStringin classEnum<InstanceHealthReason>
-
fromValue
public static InstanceHealthReason fromValue(String value)
Use this in place of valueOf to convert the raw string returned by the service into the enum value.- Parameters:
value- real value- Returns:
- InstanceHealthReason corresponding to the value
-
knownValues
public static Set<InstanceHealthReason> knownValues()
Use this in place ofvalues()to return aSetof all values known to the SDK. This will return all known enum values exceptUNKNOWN_TO_SDK_VERSION.- Returns:
- a
Setof knownInstanceHealthReasons
-
-