@Generated(value="software.amazon.awssdk:codegen") public final class MeasureValue extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MeasureValue.Builder,MeasureValue>
Represents the data attribute of the time series. For example, the CPU utilization of an EC2 instance or the RPM of a wind turbine are measures. MeasureValue has both name and value.
MeasureValue is only allowed for type MULTI. Using MULTI type, you can pass multiple data
attributes associated with the same time series in a single record
| Modifier and Type | Class and Description |
|---|---|
static interface |
MeasureValue.Builder |
| Modifier and Type | Method and Description |
|---|---|
static MeasureValue.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 MeasureValue.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends MeasureValue.Builder> |
serializableBuilderClass() |
MeasureValue.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
MeasureValueType |
type()
Contains the data type of the MeasureValue for the time-series data point.
|
String |
typeAsString()
Contains the data type of the MeasureValue for the time-series data point.
|
String |
value()
The value for the MeasureValue.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name of the MeasureValue.
For constraints on MeasureValue names, see Naming Constraints in the Amazon Timestream Developer Guide.
For constraints on MeasureValue names, see Naming Constraints in the Amazon Timestream Developer Guide.
public final String value()
The value for the MeasureValue. For information, see Data types.
public final MeasureValueType type()
Contains the data type of the MeasureValue for the time-series data point.
If the service returns an enum value that is not available in the current SDK version, type will return
MeasureValueType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
MeasureValueTypepublic final String typeAsString()
Contains the data type of the MeasureValue for the time-series data point.
If the service returns an enum value that is not available in the current SDK version, type will return
MeasureValueType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
MeasureValueTypepublic MeasureValue.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<MeasureValue.Builder,MeasureValue>public static MeasureValue.Builder builder()
public static Class<? extends MeasureValue.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.