AlertsMetadataInner Class

  • java.lang.Object
    • com.azure.resourcemanager.alertsmanagement.fluent.models.AlertsMetadataInner

Implements

public final class AlertsMetadataInner
implements JsonSerializable<AlertsMetadataInner>

alert meta data information.

Constructor Summary

Constructor Description
AlertsMetadataInner()

Creates an instance of AlertsMetadataInner class.

Method Summary

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

Reads an instance of AlertsMetadataInner from the JsonReader.

AlertsMetadataProperties properties()

Get the properties property: alert meta data property bag.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

AlertsMetadataInner withProperties(AlertsMetadataProperties properties)

Set the properties property: alert meta data property bag.

Methods inherited from java.lang.Object

Constructor Details

AlertsMetadataInner

public AlertsMetadataInner()

Creates an instance of AlertsMetadataInner class.

Method Details

fromJson

public static AlertsMetadataInner fromJson(JsonReader jsonReader)

Reads an instance of AlertsMetadataInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AlertsMetadataInner 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 AlertsMetadataInner.

properties

public AlertsMetadataProperties properties()

Get the properties property: alert meta data property bag.

Returns:

the properties value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withProperties

public AlertsMetadataInner withProperties(AlertsMetadataProperties properties)

Set the properties property: alert meta data property bag.

Parameters:

properties - the properties value to set.

Returns:

the AlertsMetadataInner object itself.

Applies to