@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MeasureValue extends Object implements Serializable, Cloneable, StructuredPojo
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
| Constructor and Description |
|---|
MeasureValue() |
| Modifier and Type | Method and Description |
|---|---|
MeasureValue |
clone() |
boolean |
equals(Object obj) |
String |
getName()
Name of the MeasureValue.
|
String |
getType()
Contains the data type of the MeasureValue for the time series data point.
|
String |
getValue()
Value for the MeasureValue.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setName(String name)
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)
Value for the MeasureValue.
|
String |
toString()
Returns a string representation of this object.
|
MeasureValue |
withName(String name)
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)
Value for the MeasureValue.
|
public void setName(String name)
Name of the MeasureValue.
For constraints on MeasureValue names, refer to Naming Constraints in the Timestream developer guide.
name - Name of the MeasureValue.
For constraints on MeasureValue names, refer to Naming Constraints in the Timestream developer guide.
public String getName()
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 MeasureValue withName(String name)
Name of the MeasureValue.
For constraints on MeasureValue names, refer to Naming Constraints in the Timestream developer guide.
name - Name of the MeasureValue.
For constraints on MeasureValue names, refer to Naming Constraints in the Timestream developer guide.
public void setValue(String value)
Value for the MeasureValue.
value - Value for the MeasureValue.public String getValue()
Value for the MeasureValue.
public MeasureValue withValue(String value)
Value for the MeasureValue.
value - Value for the MeasureValue.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.MeasureValueTypepublic String getType()
Contains the data type of the MeasureValue for the time series data point.
MeasureValueTypepublic 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.MeasureValueTypepublic 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.MeasureValueTypepublic String toString()
toString in class ObjectObject.toString()public MeasureValue clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.