Enum ScalingMetricType
- java.lang.Object
-
- java.lang.Enum<ScalingMetricType>
-
- software.amazon.awssdk.services.autoscalingplans.model.ScalingMetricType
-
- All Implemented Interfaces:
Serializable,Comparable<ScalingMetricType>
@Generated("software.amazon.awssdk:codegen") public enum ScalingMetricType extends Enum<ScalingMetricType>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ScalingMetricTypefromValue(String value)Use this in place of valueOf to convert the raw string returned by the service into the enum value.static Set<ScalingMetricType>knownValues()StringtoString()static ScalingMetricTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ScalingMetricType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ASG_AVERAGE_CPU_UTILIZATION
public static final ScalingMetricType ASG_AVERAGE_CPU_UTILIZATION
-
ASG_AVERAGE_NETWORK_IN
public static final ScalingMetricType ASG_AVERAGE_NETWORK_IN
-
ASG_AVERAGE_NETWORK_OUT
public static final ScalingMetricType ASG_AVERAGE_NETWORK_OUT
-
DYNAMO_DB_READ_CAPACITY_UTILIZATION
public static final ScalingMetricType DYNAMO_DB_READ_CAPACITY_UTILIZATION
-
DYNAMO_DB_WRITE_CAPACITY_UTILIZATION
public static final ScalingMetricType DYNAMO_DB_WRITE_CAPACITY_UTILIZATION
-
ECS_SERVICE_AVERAGE_CPU_UTILIZATION
public static final ScalingMetricType ECS_SERVICE_AVERAGE_CPU_UTILIZATION
-
ECS_SERVICE_AVERAGE_MEMORY_UTILIZATION
public static final ScalingMetricType ECS_SERVICE_AVERAGE_MEMORY_UTILIZATION
-
ALB_REQUEST_COUNT_PER_TARGET
public static final ScalingMetricType ALB_REQUEST_COUNT_PER_TARGET
-
RDS_READER_AVERAGE_CPU_UTILIZATION
public static final ScalingMetricType RDS_READER_AVERAGE_CPU_UTILIZATION
-
RDS_READER_AVERAGE_DATABASE_CONNECTIONS
public static final ScalingMetricType RDS_READER_AVERAGE_DATABASE_CONNECTIONS
-
EC2_SPOT_FLEET_REQUEST_AVERAGE_CPU_UTILIZATION
public static final ScalingMetricType EC2_SPOT_FLEET_REQUEST_AVERAGE_CPU_UTILIZATION
-
EC2_SPOT_FLEET_REQUEST_AVERAGE_NETWORK_IN
public static final ScalingMetricType EC2_SPOT_FLEET_REQUEST_AVERAGE_NETWORK_IN
-
EC2_SPOT_FLEET_REQUEST_AVERAGE_NETWORK_OUT
public static final ScalingMetricType EC2_SPOT_FLEET_REQUEST_AVERAGE_NETWORK_OUT
-
UNKNOWN_TO_SDK_VERSION
public static final ScalingMetricType UNKNOWN_TO_SDK_VERSION
-
-
Method Detail
-
values
public static ScalingMetricType[] 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 (ScalingMetricType c : ScalingMetricType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ScalingMetricType 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<ScalingMetricType>
-
fromValue
public static ScalingMetricType 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:
- ScalingMetricType corresponding to the value
-
knownValues
public static Set<ScalingMetricType> 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 knownScalingMetricTypes
-
-