Class MetricsResponseSeriesItem
- java.lang.Object
-
- com.azure.resourcemanager.cdn.models.MetricsResponseSeriesItem
-
public final class MetricsResponseSeriesItem extends Object
The MetricsResponseSeriesItem model.
-
-
Constructor Summary
Constructors Constructor Description MetricsResponseSeriesItem()
-
Method Summary
-
-
-
Method Detail
-
metric
public String metric()
Get the metric property: The metric property.- Returns:
- the metric value.
-
withMetric
public MetricsResponseSeriesItem withMetric(String metric)
Set the metric property: The metric property.- Parameters:
metric- the metric value to set.- Returns:
- the MetricsResponseSeriesItem object itself.
-
unit
public MetricsResponseSeriesItemUnit unit()
Get the unit property: The unit property.- Returns:
- the unit value.
-
withUnit
public MetricsResponseSeriesItem withUnit(MetricsResponseSeriesItemUnit unit)
Set the unit property: The unit property.- Parameters:
unit- the unit value to set.- Returns:
- the MetricsResponseSeriesItem object itself.
-
groups
public List<MetricsResponseSeriesPropertiesItemsItem> groups()
Get the groups property: The groups property.- Returns:
- the groups value.
-
withGroups
public MetricsResponseSeriesItem withGroups(List<MetricsResponseSeriesPropertiesItemsItem> groups)
Set the groups property: The groups property.- Parameters:
groups- the groups value to set.- Returns:
- the MetricsResponseSeriesItem object itself.
-
data
public List<Components1Gs0LlpSchemasMetricsresponsePropertiesSeriesItemsPropertiesDataItems> data()
Get the data property: The data property.- Returns:
- the data value.
-
withData
public MetricsResponseSeriesItem withData(List<Components1Gs0LlpSchemasMetricsresponsePropertiesSeriesItemsPropertiesDataItems> data)
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.
-
-