public final class TimeSeriesElement extends Object
| Constructor and Description |
|---|
TimeSeriesElement() |
| Modifier and Type | Method and Description |
|---|---|
List<MetricValue> |
data()
Get the data property: An array of data points representing the metric values.
|
List<MetadataValueInner> |
metadatavalues()
Get the metadatavalues property: the metadata values returned if $filter was specified in the call.
|
void |
validate()
Validates the instance.
|
TimeSeriesElement |
withData(List<MetricValue> data)
Set the data property: An array of data points representing the metric values.
|
TimeSeriesElement |
withMetadatavalues(List<MetadataValueInner> metadatavalues)
Set the metadatavalues property: the metadata values returned if $filter was specified in the call.
|
public List<MetadataValueInner> metadatavalues()
public TimeSeriesElement withMetadatavalues(List<MetadataValueInner> metadatavalues)
metadatavalues - the metadatavalues value to set.public List<MetricValue> data()
public TimeSeriesElement withData(List<MetricValue> data)
data - the data value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.