AlertProcessingRulesList Class

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

Implements

public final class AlertProcessingRulesList
implements JsonSerializable<AlertProcessingRulesList>

List of alert processing rules.

Constructor Summary

Constructor Description
AlertProcessingRulesList()

Creates an instance of AlertProcessingRulesList class.

Method Summary

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

Reads an instance of AlertProcessingRulesList from the JsonReader.

String nextLink()

Get the nextLink property: URL to fetch the next set of alert processing rules.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<AlertProcessingRuleInner> value()

Get the value property: List of alert processing rules.

AlertProcessingRulesList withNextLink(String nextLink)

Set the nextLink property: URL to fetch the next set of alert processing rules.

AlertProcessingRulesList withValue(List<AlertProcessingRuleInner> value)

Set the value property: List of alert processing rules.

Methods inherited from java.lang.Object

Constructor Details

AlertProcessingRulesList

public AlertProcessingRulesList()

Creates an instance of AlertProcessingRulesList class.

Method Details

fromJson

public static AlertProcessingRulesList fromJson(JsonReader jsonReader)

Reads an instance of AlertProcessingRulesList from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

nextLink

public String nextLink()

Get the nextLink property: URL to fetch the next set of alert processing rules.

Returns:

the nextLink value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List<AlertProcessingRuleInner> value()

Get the value property: List of alert processing rules.

Returns:

the value value.

withNextLink

public AlertProcessingRulesList withNextLink(String nextLink)

Set the nextLink property: URL to fetch the next set of alert processing rules.

Parameters:

nextLink - the nextLink value to set.

Returns:

the AlertProcessingRulesList object itself.

withValue

public AlertProcessingRulesList withValue(List<AlertProcessingRuleInner> value)

Set the value property: List of alert processing rules.

Parameters:

value - the value value to set.

Returns:

the AlertProcessingRulesList object itself.

Applies to