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