@Generated(value="software.amazon.awssdk:codegen") public final class TargetTrackingMetricStat extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TargetTrackingMetricStat.Builder,TargetTrackingMetricStat>
This structure defines the CloudWatch metric to return, along with the statistic and unit.
For more information about the CloudWatch terminology below, see Amazon CloudWatch concepts in the Amazon CloudWatch User Guide.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TargetTrackingMetricStat.Builder |
| Modifier and Type | Method and Description |
|---|---|
static TargetTrackingMetricStat.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Metric |
metric()
The metric to use.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TargetTrackingMetricStat.Builder> |
serializableBuilderClass() |
String |
stat()
The statistic to return.
|
TargetTrackingMetricStat.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
unit()
The unit to use for the returned data points.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Metric metric()
The metric to use.
public final String stat()
The statistic to return. It can include any CloudWatch statistic or extended statistic. For a list of valid values, see the table in Statistics in the Amazon CloudWatch User Guide.
The most commonly used metric for scaling is Average.
The most commonly used metric for scaling is Average.
public final String unit()
The unit to use for the returned data points. For a complete list of the units that CloudWatch supports, see the MetricDatum data type in the Amazon CloudWatch API Reference.
public TargetTrackingMetricStat.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TargetTrackingMetricStat.Builder,TargetTrackingMetricStat>public static TargetTrackingMetricStat.Builder builder()
public static Class<? extends TargetTrackingMetricStat.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.