@Generated(value="software.amazon.awssdk:codegen") public final class MetricInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MetricInfo.Builder,MetricInfo>
Information about the CloudWatch metric that reflects quota usage.
| 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() |
boolean |
hasMetricDimensions()
Returns true if the MetricDimensions property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
Map<String,String> |
metricDimensions()
The metric dimension.
|
String |
metricName()
The name of the metric.
|
String |
metricNamespace()
The namespace of the metric.
|
String |
metricStatisticRecommendation()
The metric statistic that we recommend you use when determining quota usage.
|
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 final String metricNamespace()
The namespace of the metric.
public final String metricName()
The name of the metric.
public final boolean hasMetricDimensions()
public final Map<String,String> metricDimensions()
The metric dimension. This is a name/value pair that is part of the identity of a metric.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasMetricDimensions() to see if a value was sent in this field.
public final String metricStatisticRecommendation()
The metric statistic that we recommend you use when determining quota usage.
public MetricInfo.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<MetricInfo.Builder,MetricInfo>public static MetricInfo.Builder builder()
public static Class<? extends MetricInfo.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.