MetricAlertStatusCollectionInner Class
- java.
lang. Object - com.
azure. resourcemanager. monitor. fluent. models. MetricAlertStatusCollectionInner
- com.
Implements
public final class MetricAlertStatusCollectionInner
implements JsonSerializable<MetricAlertStatusCollectionInner>
Represents a collection of alert rule resources.
Constructor Summary
Constructor | Description |
---|---|
MetricAlertStatusCollectionInner() |
Creates an instance of Metric |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Metric |
fromJson(JsonReader jsonReader)
Reads an instance of Metric |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
List<Metric |
value()
Get the value property: the values for the alert rule resources. |
Metric |
withValue(List<MetricAlertStatus> value)
Set the value property: the values for the alert rule resources. |
Methods inherited from java.lang.Object
Constructor Details
MetricAlertStatusCollectionInner
public MetricAlertStatusCollectionInner()
Creates an instance of MetricAlertStatusCollectionInner class.
Method Details
fromJson
public static MetricAlertStatusCollectionInner fromJson(JsonReader jsonReader)
Reads an instance of MetricAlertStatusCollectionInner from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
value
public List
Get the value property: the values for the alert rule resources.
Returns:
withValue
public MetricAlertStatusCollectionInner withValue(List
Set the value property: the values for the alert rule resources.
Parameters:
Returns:
Applies to
Azure SDK for Java