@Generated(value="software.amazon.awssdk:codegen") public final class MeasureValue extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MeasureValue.Builder,MeasureValue>
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()
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()
Value for the MeasureValue.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
Name of the MeasureValue.
For constraints on MeasureValue names, refer to Naming Constraints in the Timestream developer guide.
For constraints on MeasureValue names, refer to Naming Constraints in the Timestream developer guide.
public final String value()
Value for the MeasureValue.
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 © 2022. All rights reserved.