你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MetricAlertStatusCollectionInner Class

  • java.lang.Object
    • com.azure.resourcemanager.monitor.fluent.models.MetricAlertStatusCollectionInner

Implements

public final class MetricAlertStatusCollectionInner
implements JsonSerializable<MetricAlertStatusCollectionInner>

Represents a collection of alert rule resources.

Constructor Summary

Constructor Description
MetricAlertStatusCollectionInner()

Creates an instance of MetricAlertStatusCollectionInner class.

Method Summary

Modifier and Type Method and Description
static MetricAlertStatusCollectionInner fromJson(JsonReader jsonReader)

Reads an instance of MetricAlertStatusCollectionInner from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<MetricAlertStatus> value()

Get the value property: the values for the alert rule resources.

MetricAlertStatusCollectionInner 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:

jsonReader - The JsonReader being read.

Returns:

An instance of MetricAlertStatusCollectionInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the MetricAlertStatusCollectionInner.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List<MetricAlertStatus> value()

Get the value property: the values for the alert rule resources.

Returns:

the value value.

withValue

public MetricAlertStatusCollectionInner withValue(List<MetricAlertStatus> value)

Set the value property: the values for the alert rule resources.

Parameters:

value - the value value to set.

Returns:

the MetricAlertStatusCollectionInner object itself.

Applies to