AlertsList Class

  • java.lang.Object
    • com.azure.resourcemanager.alertsmanagement.models.AlertsList

Implements

public final class AlertsList
implements JsonSerializable<AlertsList>

List the alerts.

Constructor Summary

Constructor Description
AlertsList()

Creates an instance of AlertsList class.

Method Summary

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

Reads an instance of AlertsList from the JsonReader.

String nextLink()

Get the nextLink property: URL to fetch the next set of alerts.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<AlertInner> value()

Get the value property: List of alerts.

AlertsList withNextLink(String nextLink)

Set the nextLink property: URL to fetch the next set of alerts.

AlertsList withValue(List<AlertInner> value)

Set the value property: List of alerts.

Methods inherited from java.lang.Object

Constructor Details

AlertsList

public AlertsList()

Creates an instance of AlertsList class.

Method Details

fromJson

public static AlertsList fromJson(JsonReader jsonReader)

Reads an instance of AlertsList from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

nextLink

public String nextLink()

Get the nextLink property: URL to fetch the next set of alerts.

Returns:

the nextLink value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List<AlertInner> value()

Get the value property: List of alerts.

Returns:

the value value.

withNextLink

public AlertsList withNextLink(String nextLink)

Set the nextLink property: URL to fetch the next set of alerts.

Parameters:

nextLink - the nextLink value to set.

Returns:

the AlertsList object itself.

withValue

public AlertsList withValue(List<AlertInner> value)

Set the value property: List of alerts.

Parameters:

value - the value value to set.

Returns:

the AlertsList object itself.

Applies to