Class MetricListResult
- java.lang.Object
-
- com.azure.resourcemanager.sql.models.MetricListResult
-
public final class MetricListResult extends Object
The response to a list database metrics request.
-
-
Constructor Summary
Constructors Constructor Description MetricListResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidvalidate()Validates the instance.List<MetricInner>value()Get the value property: The list of metrics for the database.MetricListResultwithValue(List<MetricInner> value)Set the value property: The list of metrics for the database.
-
-
-
Method Detail
-
value
public List<MetricInner> value()
Get the value property: The list of metrics for the database.- Returns:
- the value value.
-
withValue
public MetricListResult withValue(List<MetricInner> value)
Set the value property: The list of metrics for the database.- Parameters:
value- the value value to set.- Returns:
- the MetricListResult object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-