AlertModificationInner Class

public final class AlertModificationInner
extends ProxyResource

Alert Modification details.

Constructor Summary

Constructor Description
AlertModificationInner()

Creates an instance of AlertModificationInner class.

Method Summary

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

Reads an instance of AlertModificationInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

AlertModificationProperties properties()

Get the properties property: Properties of the alert modification item.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

AlertModificationInner withProperties(AlertModificationProperties properties)

Set the properties property: Properties of the alert modification item.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

AlertModificationInner

public AlertModificationInner()

Creates an instance of AlertModificationInner class.

Method Details

fromJson

public static AlertModificationInner fromJson(JsonReader jsonReader)

Reads an instance of AlertModificationInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

AlertModificationInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

AlertModificationInner.name()

Returns:

the name value.

properties

public AlertModificationProperties properties()

Get the properties property: Properties of the alert modification item.

Returns:

the properties value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

AlertModificationInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

AlertModificationInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withProperties

public AlertModificationInner withProperties(AlertModificationProperties properties)

Set the properties property: Properties of the alert modification item.

Parameters:

properties - the properties value to set.

Returns:

the AlertModificationInner object itself.

Applies to