Class MetricAvailability
- java.lang.Object
-
- com.azure.resourcemanager.cosmos.models.MetricAvailability
-
public final class MetricAvailability extends Object
The availability of the metric.
-
-
Constructor Summary
Constructors Constructor Description MetricAvailability()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringretention()Get the retention property: The retention for the metric values.StringtimeGrain()Get the timeGrain property: The time grain to be used to summarize the metric values.voidvalidate()Validates the instance.
-
-
-
Method Detail
-
timeGrain
public String timeGrain()
Get the timeGrain property: The time grain to be used to summarize the metric values.- Returns:
- the timeGrain value.
-
retention
public String retention()
Get the retention property: The retention for the metric values.- Returns:
- the retention value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-