@Generated(value="software.amazon.awssdk:codegen") public final class MetricInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MetricInfo.Builder,MetricInfo>
A structure that uses CloudWatch metrics to gather data about the service quota.
| Modifier and Type | Class and Description |
|---|---|
static interface |
MetricInfo.Builder |
| Modifier and Type | Method and Description |
|---|---|
static MetricInfo.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Map<String,String> |
metricDimensions()
A dimension is a name/value pair that is part of the identity of a metric.
|
String |
metricName()
The name of the CloudWatch metric that measures usage of a service quota.
|
String |
metricNamespace()
The namespace of the metric.
|
String |
metricStatisticRecommendation()
Statistics are metric data aggregations over specified periods of time.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends MetricInfo.Builder> |
serializableBuilderClass() |
MetricInfo.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String metricNamespace()
The namespace of the metric. The namespace is a container for CloudWatch metrics. You can specify a name for the namespace when you create a metric.
public String metricName()
The name of the CloudWatch metric that measures usage of a service quota. This is a required field.
public Map<String,String> metricDimensions()
A dimension is a name/value pair that is part of the identity of a metric. Every metric has specific characteristics that describe it, and you can think of dimensions as categories for those characteristics. These dimensions are part of the CloudWatch Metric Identity that measures usage against a particular service quota.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String metricStatisticRecommendation()
Statistics are metric data aggregations over specified periods of time. This is the recommended statistic to use when comparing usage in the CloudWatch Metric against your Service Quota.
public MetricInfo.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<MetricInfo.Builder,MetricInfo>public static MetricInfo.Builder builder()
public static Class<? extends MetricInfo.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2019. All rights reserved.