@Generated(value="software.amazon.awssdk:codegen") public class Metric extends Object implements ToCopyableBuilder<Metric.Builder,Metric>
Represents a specific metric.
Modifier and Type | Class and Description |
---|---|
static interface |
Metric.Builder |
Modifier and Type | Method and Description |
---|---|
static Metric.Builder |
builder() |
List<Dimension> |
dimensions()
The dimensions for the metric.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
metricName()
The name of the metric.
|
String |
namespace()
The namespace of the metric.
|
static Class<? extends Metric.Builder> |
serializableBuilderClass() |
Metric.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String namespace()
The namespace of the metric.
public String metricName()
The name of the metric.
public List<Dimension> dimensions()
The dimensions for the metric.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Metric.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Metric.Builder,Metric>
public static Metric.Builder builder()
public static Class<? extends Metric.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.