public class MetricValue extends Object
| Constructor and Description |
|---|
MetricValue() |
| Modifier and Type | Method and Description |
|---|---|
Double |
average()
Get the average property: The average value of the metric.
|
Integer |
count()
Get the count property: The number of values for the metric.
|
Double |
maximum()
Get the maximum property: The max value of the metric.
|
Double |
minimum()
Get the minimum property: The min value of the metric.
|
OffsetDateTime |
timestamp()
Get the timestamp property: The metric timestamp (ISO-8601 format).
|
Double |
total()
Get the total property: The total value of the metric.
|
void |
validate()
Validates the instance.
|
public Integer count()
public Double average()
public Double maximum()
public Double minimum()
public OffsetDateTime timestamp()
public Double total()
public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.