Class WafMetricsResponseSeriesItem
- java.lang.Object
-
- com.azure.resourcemanager.cdn.models.WafMetricsResponseSeriesItem
-
public final class WafMetricsResponseSeriesItem extends Object
The WafMetricsResponseSeriesItem model.
-
-
Constructor Summary
Constructors Constructor Description WafMetricsResponseSeriesItem()
-
Method Summary
-
-
-
Method Detail
-
metric
public String metric()
Get the metric property: The metric property.- Returns:
- the metric value.
-
withMetric
public WafMetricsResponseSeriesItem withMetric(String metric)
Set the metric property: The metric property.- Parameters:
metric- the metric value to set.- Returns:
- the WafMetricsResponseSeriesItem object itself.
-
unit
public WafMetricsResponseSeriesItemUnit unit()
Get the unit property: The unit property.- Returns:
- the unit value.
-
withUnit
public WafMetricsResponseSeriesItem withUnit(WafMetricsResponseSeriesItemUnit unit)
Set the unit property: The unit property.- Parameters:
unit- the unit value to set.- Returns:
- the WafMetricsResponseSeriesItem object itself.
-
groups
public List<WafMetricsResponseSeriesPropertiesItemsItem> groups()
Get the groups property: The groups property.- Returns:
- the groups value.
-
withGroups
public WafMetricsResponseSeriesItem withGroups(List<WafMetricsResponseSeriesPropertiesItemsItem> groups)
Set the groups property: The groups property.- Parameters:
groups- the groups value to set.- Returns:
- the WafMetricsResponseSeriesItem object itself.
-
data
public List<Components18OrqelSchemasWafmetricsresponsePropertiesSeriesItemsPropertiesDataItems> data()
Get the data property: The data property.- Returns:
- the data value.
-
withData
public WafMetricsResponseSeriesItem withData(List<Components18OrqelSchemasWafmetricsresponsePropertiesSeriesItemsPropertiesDataItems> data)
Set the data property: The data property.- Parameters:
data- the data value to set.- Returns:
- the WafMetricsResponseSeriesItem object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-