Enum LoadBalancerMetricName
- java.lang.Object
-
- java.lang.Enum<LoadBalancerMetricName>
-
- software.amazon.awssdk.services.lightsail.model.LoadBalancerMetricName
-
- All Implemented Interfaces:
Serializable,Comparable<LoadBalancerMetricName>
@Generated("software.amazon.awssdk:codegen") public enum LoadBalancerMetricName extends Enum<LoadBalancerMetricName>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LoadBalancerMetricNamefromValue(String value)Use this in place of valueOf to convert the raw string returned by the service into the enum value.static Set<LoadBalancerMetricName>knownValues()StringtoString()static LoadBalancerMetricNamevalueOf(String name)Returns the enum constant of this type with the specified name.static LoadBalancerMetricName[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CLIENT_TLS_NEGOTIATION_ERROR_COUNT
public static final LoadBalancerMetricName CLIENT_TLS_NEGOTIATION_ERROR_COUNT
-
HEALTHY_HOST_COUNT
public static final LoadBalancerMetricName HEALTHY_HOST_COUNT
-
UNHEALTHY_HOST_COUNT
public static final LoadBalancerMetricName UNHEALTHY_HOST_COUNT
-
HTTP_CODE_LB_4_XX_COUNT
public static final LoadBalancerMetricName HTTP_CODE_LB_4_XX_COUNT
-
HTTP_CODE_LB_5_XX_COUNT
public static final LoadBalancerMetricName HTTP_CODE_LB_5_XX_COUNT
-
HTTP_CODE_INSTANCE_2_XX_COUNT
public static final LoadBalancerMetricName HTTP_CODE_INSTANCE_2_XX_COUNT
-
HTTP_CODE_INSTANCE_3_XX_COUNT
public static final LoadBalancerMetricName HTTP_CODE_INSTANCE_3_XX_COUNT
-
HTTP_CODE_INSTANCE_4_XX_COUNT
public static final LoadBalancerMetricName HTTP_CODE_INSTANCE_4_XX_COUNT
-
HTTP_CODE_INSTANCE_5_XX_COUNT
public static final LoadBalancerMetricName HTTP_CODE_INSTANCE_5_XX_COUNT
-
INSTANCE_RESPONSE_TIME
public static final LoadBalancerMetricName INSTANCE_RESPONSE_TIME
-
REJECTED_CONNECTION_COUNT
public static final LoadBalancerMetricName REJECTED_CONNECTION_COUNT
-
REQUEST_COUNT
public static final LoadBalancerMetricName REQUEST_COUNT
-
UNKNOWN_TO_SDK_VERSION
public static final LoadBalancerMetricName UNKNOWN_TO_SDK_VERSION
-
-
Method Detail
-
values
public static LoadBalancerMetricName[] 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 (LoadBalancerMetricName c : LoadBalancerMetricName.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LoadBalancerMetricName 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<LoadBalancerMetricName>
-
fromValue
public static LoadBalancerMetricName 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:
- LoadBalancerMetricName corresponding to the value
-
knownValues
public static Set<LoadBalancerMetricName> 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 knownLoadBalancerMetricNames
-
-