@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TimeSeries extends Object implements Serializable, Cloneable, StructuredPojo
Details about a metric. A metric is an aggregation of the values of a measure for a dimension value, such as availability in the us-east-1 Region.
| Constructor and Description |
|---|
TimeSeries() |
| Modifier and Type | Method and Description |
|---|---|
TimeSeries |
clone() |
boolean |
equals(Object obj) |
List<DimensionNameValue> |
getDimensionList()
The dimensions of the metric.
|
List<Double> |
getMetricValueList()
The values for the metric.
|
String |
getTimeSeriesId()
The ID of the metric.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setDimensionList(Collection<DimensionNameValue> dimensionList)
The dimensions of the metric.
|
void |
setMetricValueList(Collection<Double> metricValueList)
The values for the metric.
|
void |
setTimeSeriesId(String timeSeriesId)
The ID of the metric.
|
String |
toString()
Returns a string representation of this object.
|
TimeSeries |
withDimensionList(Collection<DimensionNameValue> dimensionList)
The dimensions of the metric.
|
TimeSeries |
withDimensionList(DimensionNameValue... dimensionList)
The dimensions of the metric.
|
TimeSeries |
withMetricValueList(Collection<Double> metricValueList)
The values for the metric.
|
TimeSeries |
withMetricValueList(Double... metricValueList)
The values for the metric.
|
TimeSeries |
withTimeSeriesId(String timeSeriesId)
The ID of the metric.
|
public void setTimeSeriesId(String timeSeriesId)
The ID of the metric.
timeSeriesId - The ID of the metric.public String getTimeSeriesId()
The ID of the metric.
public TimeSeries withTimeSeriesId(String timeSeriesId)
The ID of the metric.
timeSeriesId - The ID of the metric.public List<DimensionNameValue> getDimensionList()
The dimensions of the metric.
public void setDimensionList(Collection<DimensionNameValue> dimensionList)
The dimensions of the metric.
dimensionList - The dimensions of the metric.public TimeSeries withDimensionList(DimensionNameValue... dimensionList)
The dimensions of the metric.
NOTE: This method appends the values to the existing list (if any). Use
setDimensionList(java.util.Collection) or withDimensionList(java.util.Collection) if you want
to override the existing values.
dimensionList - The dimensions of the metric.public TimeSeries withDimensionList(Collection<DimensionNameValue> dimensionList)
The dimensions of the metric.
dimensionList - The dimensions of the metric.public List<Double> getMetricValueList()
The values for the metric.
public void setMetricValueList(Collection<Double> metricValueList)
The values for the metric.
metricValueList - The values for the metric.public TimeSeries withMetricValueList(Double... metricValueList)
The values for the metric.
NOTE: This method appends the values to the existing list (if any). Use
setMetricValueList(java.util.Collection) or withMetricValueList(java.util.Collection) if you
want to override the existing values.
metricValueList - The values for the metric.public TimeSeries withMetricValueList(Collection<Double> metricValueList)
The values for the metric.
metricValueList - The values for the metric.public String toString()
toString in class ObjectObject.toString()public TimeSeries clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.