Class MetricsResponseSeriesItem
java.lang.Object
com.azure.resourcemanager.cdn.models.MetricsResponseSeriesItem
The MetricsResponseSeriesItem model.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondata()Get the data property: The data property.groups()Get the groups property: The groups property.metric()Get the metric property: The metric property.unit()Get the unit property: The unit property.voidvalidate()Validates the instance.Set the data property: The data property.Set the groups property: The groups property.withMetric(String metric) Set the metric property: The metric property.Set the unit property: The unit property.
-
Constructor Details
-
MetricsResponseSeriesItem
public MetricsResponseSeriesItem()
-
-
Method Details
-
metric
Get the metric property: The metric property.- Returns:
- the metric value.
-
withMetric
Set the metric property: The metric property.- Parameters:
metric- the metric value to set.- Returns:
- the MetricsResponseSeriesItem object itself.
-
unit
Get the unit property: The unit property.- Returns:
- the unit value.
-
withUnit
Set the unit property: The unit property.- Parameters:
unit- the unit value to set.- Returns:
- the MetricsResponseSeriesItem object itself.
-
groups
Get the groups property: The groups property.- Returns:
- the groups value.
-
withGroups
Set the groups property: The groups property.- Parameters:
groups- the groups value to set.- Returns:
- the MetricsResponseSeriesItem object itself.
-
data
Get the data property: The data property.- Returns:
- the data value.
-
withData
Set the data property: The data property.- Parameters:
data- the data value to set.- Returns:
- the MetricsResponseSeriesItem object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-