ToCopyableBuilder<Metric.Builder,Metric>
@Generated("software.amazon.awssdk:codegen") public class Metric extends Object implements ToCopyableBuilder<Metric.Builder,Metric>
Represents a specific metric.
Modifier and Type | Class | Description |
---|---|---|
static interface |
Metric.Builder |
Modifier and Type | Method | Description |
---|---|---|
static Metric.Builder |
builder() |
|
List<Dimension> |
dimensions() |
The dimensions for the metric.
|
boolean |
equals(Object obj) |
|
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() |
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.
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.