@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MeasureValue extends Object implements Serializable, Cloneable, StructuredPojo
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
Constructor and Description |
---|
MeasureValue() |
Modifier and Type | Method and Description |
---|---|
MeasureValue |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the MeasureValue.
|
String |
getType()
Contains the data type of the MeasureValue for the time-series data point.
|
String |
getValue()
The value for the MeasureValue.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
The name of the MeasureValue.
|
void |
setType(String type)
Contains the data type of the MeasureValue for the time-series data point.
|
void |
setValue(String value)
The value for the MeasureValue.
|
String |
toString()
Returns a string representation of this object.
|
MeasureValue |
withName(String name)
The name of the MeasureValue.
|
MeasureValue |
withType(MeasureValueType type)
Contains the data type of the MeasureValue for the time-series data point.
|
MeasureValue |
withType(String type)
Contains the data type of the MeasureValue for the time-series data point.
|
MeasureValue |
withValue(String value)
The value for the MeasureValue.
|
public void setName(String name)
The name of the MeasureValue.
For constraints on MeasureValue names, see Naming Constraints in the Amazon Timestream Developer Guide.
name
- The name of the MeasureValue.
For constraints on MeasureValue names, see Naming Constraints in the Amazon Timestream Developer Guide.
public String getName()
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 MeasureValue withName(String name)
The name of the MeasureValue.
For constraints on MeasureValue names, see Naming Constraints in the Amazon Timestream Developer Guide.
name
- The name of the MeasureValue.
For constraints on MeasureValue names, see Naming Constraints in the Amazon Timestream Developer Guide.
public void setValue(String value)
The value for the MeasureValue. For information, see Data types.
value
- The value for the MeasureValue. For information, see Data
types.public String getValue()
The value for the MeasureValue. For information, see Data types.
public MeasureValue withValue(String value)
The value for the MeasureValue. For information, see Data types.
value
- The value for the MeasureValue. For information, see Data
types.public void setType(String type)
Contains the data type of the MeasureValue for the time-series data point.
type
- Contains the data type of the MeasureValue for the time-series data point.MeasureValueType
public String getType()
Contains the data type of the MeasureValue for the time-series data point.
MeasureValueType
public MeasureValue withType(String type)
Contains the data type of the MeasureValue for the time-series data point.
type
- Contains the data type of the MeasureValue for the time-series data point.MeasureValueType
public MeasureValue withType(MeasureValueType type)
Contains the data type of the MeasureValue for the time-series data point.
type
- Contains the data type of the MeasureValue for the time-series data point.MeasureValueType
public String toString()
toString
in class Object
Object.toString()
public MeasureValue clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.