Class PartitionMetricInner
- java.lang.Object
-
- com.azure.resourcemanager.cosmos.fluent.models.MetricInner
-
- com.azure.resourcemanager.cosmos.fluent.models.PartitionMetricInner
-
public final class PartitionMetricInner extends MetricInner
The metric values for a single partition.
-
-
Constructor Summary
Constructors Constructor Description PartitionMetricInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringpartitionId()Get the partitionId property: The partition id (GUID identifier) of the metric values.StringpartitionKeyRangeId()Get the partitionKeyRangeId property: The partition key range id (integer identifier) of the metric values.voidvalidate()Validates the instance.-
Methods inherited from class com.azure.resourcemanager.cosmos.fluent.models.MetricInner
endTime, metricValues, name, startTime, timeGrain, unit
-
-
-
-
Method Detail
-
partitionId
public String partitionId()
Get the partitionId property: The partition id (GUID identifier) of the metric values.- Returns:
- the partitionId value.
-
partitionKeyRangeId
public String partitionKeyRangeId()
Get the partitionKeyRangeId property: The partition key range id (integer identifier) of the metric values.- Returns:
- the partitionKeyRangeId value.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classMetricInner- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-