Enum PredefinedMetricPairType
- java.lang.Object
-
- java.lang.Enum<PredefinedMetricPairType>
-
- software.amazon.awssdk.services.autoscaling.model.PredefinedMetricPairType
-
- All Implemented Interfaces:
Serializable,Comparable<PredefinedMetricPairType>
@Generated("software.amazon.awssdk:codegen") public enum PredefinedMetricPairType extends Enum<PredefinedMetricPairType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALB_REQUEST_COUNTASG_NETWORK_INASG_NETWORK_OUTASGCPU_UTILIZATIONUNKNOWN_TO_SDK_VERSION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PredefinedMetricPairTypefromValue(String value)Use this in place of valueOf to convert the raw string returned by the service into the enum value.static Set<PredefinedMetricPairType>knownValues()StringtoString()static PredefinedMetricPairTypevalueOf(String name)Returns the enum constant of this type with the specified name.static PredefinedMetricPairType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ASGCPU_UTILIZATION
public static final PredefinedMetricPairType ASGCPU_UTILIZATION
-
ASG_NETWORK_IN
public static final PredefinedMetricPairType ASG_NETWORK_IN
-
ASG_NETWORK_OUT
public static final PredefinedMetricPairType ASG_NETWORK_OUT
-
ALB_REQUEST_COUNT
public static final PredefinedMetricPairType ALB_REQUEST_COUNT
-
UNKNOWN_TO_SDK_VERSION
public static final PredefinedMetricPairType UNKNOWN_TO_SDK_VERSION
-
-
Method Detail
-
values
public static PredefinedMetricPairType[] 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 (PredefinedMetricPairType c : PredefinedMetricPairType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PredefinedMetricPairType 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<PredefinedMetricPairType>
-
fromValue
public static PredefinedMetricPairType 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:
- PredefinedMetricPairType corresponding to the value
-
knownValues
public static Set<PredefinedMetricPairType> 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 knownPredefinedMetricPairTypes
-
-