@Generated(value="software.amazon.awssdk:codegen") public final class Dimension extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Dimension.Builder,Dimension>
Represents the metadata attributes of the time series. For example, the name and Availability Zone of an EC2 instance or the name of the manufacturer of a wind turbine are dimensions.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Dimension.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Dimension.Builder |
builder() |
DimensionValueType |
dimensionValueType()
The data type of the dimension for the time-series data point.
|
String |
dimensionValueTypeAsString()
The data type of the dimension for the time-series data point.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
Dimension represents the metadata attributes of the time series.
|
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, waitcopypublic final String name()
Dimension represents the metadata attributes of the time series. For example, the name and Availability Zone of an EC2 instance or the name of the manufacturer of a wind turbine are dimensions.
For constraints on dimension names, see Naming Constraints.
For constraints on dimension names, see Naming Constraints.
public final String value()
The value of the dimension.
public final DimensionValueType dimensionValueType()
The data type of the dimension for the time-series data point.
If the service returns an enum value that is not available in the current SDK version,
dimensionValueType will return DimensionValueType.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from dimensionValueTypeAsString().
DimensionValueTypepublic final String dimensionValueTypeAsString()
The data type of the dimension for the time-series data point.
If the service returns an enum value that is not available in the current SDK version,
dimensionValueType will return DimensionValueType.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from dimensionValueTypeAsString().
DimensionValueTypepublic Dimension.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Dimension.Builder,Dimension>public static Dimension.Builder builder()
public static Class<? extends Dimension.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.