Class Dimension
- java.lang.Object
-
- software.amazon.awssdk.services.timestreamwrite.model.Dimension
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Dimension.Builder,Dimension>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDimension.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Dimension.Builderbuilder()DimensionValueTypedimensionValueType()The data type of the dimension for the time-series data point.StringdimensionValueTypeAsString()The data type of the dimension for the time-series data point.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()Dimension represents the metadata attributes of the time series.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends Dimension.Builder>serializableBuilderClass()Dimension.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringvalue()The value of the dimension.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
name
public 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.
- Returns:
- 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.
-
value
public final String value()
The value of the dimension.
- Returns:
- The value of the dimension.
-
dimensionValueType
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,
dimensionValueTypewill returnDimensionValueType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdimensionValueTypeAsString().- Returns:
- The data type of the dimension for the time-series data point.
- See Also:
DimensionValueType
-
dimensionValueTypeAsString
public 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,
dimensionValueTypewill returnDimensionValueType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdimensionValueTypeAsString().- Returns:
- The data type of the dimension for the time-series data point.
- See Also:
DimensionValueType
-
toBuilder
public Dimension.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Dimension.Builder,Dimension>
-
builder
public static Dimension.Builder builder()
-
serializableBuilderClass
public static Class<? extends Dimension.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-