public class TimeSeriesElement extends Object
| Constructor and Description |
|---|
TimeSeriesElement() |
| Modifier and Type | Method and Description |
|---|---|
List<MetricValue> |
data()
Get an array of data points representing the metric values.
|
List<MetadataValue> |
metadatavalues()
Get the metadata values returned if $filter was specified in the call.
|
TimeSeriesElement |
withData(List<MetricValue> data)
Set an array of data points representing the metric values.
|
TimeSeriesElement |
withMetadatavalues(List<MetadataValue> metadatavalues)
Set the metadata values returned if $filter was specified in the call.
|
public List<MetadataValue> metadatavalues()
public TimeSeriesElement withMetadatavalues(List<MetadataValue> metadatavalues)
metadatavalues - the metadatavalues value to setpublic List<MetricValue> data()
public TimeSeriesElement withData(List<MetricValue> data)
data - the data value to setCopyright © 2019. All rights reserved.