PercentileMetricInner Class
- java.
lang. Object - com.
azure. resourcemanager. cosmos. fluent. models. PercentileMetricInner
- com.
Implements
public final class PercentileMetricInner
implements JsonSerializable<PercentileMetricInner>
Percentile Metric data.
Constructor Summary
Constructor | Description |
---|---|
PercentileMetricInner() |
Creates an instance of Percentile |
Method Summary
Modifier and Type | Method and Description |
---|---|
Offset |
endTime()
Get the end |
static
Percentile |
fromJson(JsonReader jsonReader)
Reads an instance of Percentile |
List<Percentile |
metricValues()
Get the metric |
Metric |
name()
Get the name property: The name information for the metric. |
Offset |
startTime()
Get the start |
String |
timeGrain()
Get the time |
Json |
toJson(JsonWriter jsonWriter) |
Unit |
unit()
Get the unit property: The unit of the metric. |
void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
PercentileMetricInner
public PercentileMetricInner()
Creates an instance of PercentileMetricInner class.
Method Details
endTime
public OffsetDateTime endTime()
Get the endTime property: The end time for the metric (ISO-8601 format).
Returns:
fromJson
public static PercentileMetricInner fromJson(JsonReader jsonReader)
Reads an instance of PercentileMetricInner from the JsonReader.
Parameters:
Returns:
Throws:
metricValues
public List
Get the metricValues property: The percentile metric values for the specified time window and timestep.
Returns:
name
public MetricName name()
Get the name property: The name information for the metric.
Returns:
startTime
public OffsetDateTime startTime()
Get the startTime property: The start time for the metric (ISO-8601 format).
Returns:
timeGrain
public String timeGrain()
Get the timeGrain property: The time grain to be used to summarize the metric values.
Returns:
toJson
unit
public UnitType unit()
Get the unit property: The unit of the metric.
Returns:
validate
public void validate()
Validates the instance.
Applies to
Azure SDK for Java