@Generated(value="software.amazon.awssdk:codegen") public final class EnabledMetric extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EnabledMetric.Builder,EnabledMetric>
Describes an enabled Auto Scaling group metric.
| Modifier and Type | Class and Description |
|---|---|
static interface |
EnabledMetric.Builder |
| Modifier and Type | Method and Description |
|---|---|
static EnabledMetric.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
String |
granularity()
The granularity of the metric.
|
int |
hashCode() |
String |
metric()
One of the following metrics:
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends EnabledMetric.Builder> |
serializableBuilderClass() |
EnabledMetric.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String metric()
One of the following metrics:
GroupMinSize
GroupMaxSize
GroupDesiredCapacity
GroupInServiceInstances
GroupPendingInstances
GroupStandbyInstances
GroupTerminatingInstances
GroupTotalInstances
GroupInServiceCapacity
GroupPendingCapacity
GroupStandbyCapacity
GroupTerminatingCapacity
GroupTotalCapacity
WarmPoolDesiredCapacity
WarmPoolWarmedCapacity
WarmPoolPendingCapacity
WarmPoolTerminatingCapacity
WarmPoolTotalCapacity
GroupAndWarmPoolDesiredCapacity
GroupAndWarmPoolTotalCapacity
For more information, see Auto Scaling group metrics in the Amazon EC2 Auto Scaling User Guide.
GroupMinSize
GroupMaxSize
GroupDesiredCapacity
GroupInServiceInstances
GroupPendingInstances
GroupStandbyInstances
GroupTerminatingInstances
GroupTotalInstances
GroupInServiceCapacity
GroupPendingCapacity
GroupStandbyCapacity
GroupTerminatingCapacity
GroupTotalCapacity
WarmPoolDesiredCapacity
WarmPoolWarmedCapacity
WarmPoolPendingCapacity
WarmPoolTerminatingCapacity
WarmPoolTotalCapacity
GroupAndWarmPoolDesiredCapacity
GroupAndWarmPoolTotalCapacity
For more information, see Auto Scaling group metrics in the Amazon EC2 Auto Scaling User Guide.
public final String granularity()
The granularity of the metric. The only valid value is 1Minute.
1Minute.public EnabledMetric.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<EnabledMetric.Builder,EnabledMetric>public static EnabledMetric.Builder builder()
public static Class<? extends EnabledMetric.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.