@Generated(value="software.amazon.awssdk:codegen") public final class Dimension extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Dimension.Builder,Dimension>
A dimension is a name/value pair that is part of the identity of a metric. You can assign up to 10 dimensions to a metric. Because dimensions are part of the unique identifier for a metric, whenever you add a unique name/value pair to one of your metrics, you are creating a new variation of that metric.
Modifier and Type | Class and Description |
---|---|
static interface |
Dimension.Builder |
Modifier and Type | Method and Description |
---|---|
static Dimension.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the dimension.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Dimension.Builder> |
serializableBuilderClass() |
Dimension.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
value()
The value of the dimension.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public String name()
The name of the dimension. Dimension names cannot contain blank spaces or non-ASCII characters.
public String value()
The value of the dimension.
public Dimension.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<Dimension.Builder,Dimension>
public static Dimension.Builder builder()
public static Class<? extends Dimension.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
Copyright © 2020. All rights reserved.