TenantAlertRuleList Class

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

Implements

public final class TenantAlertRuleList
implements JsonSerializable<TenantAlertRuleList>

A list of Tenant Activity Log Alert rules.

Constructor Summary

Constructor Description
TenantAlertRuleList()

Creates an instance of TenantAlertRuleList class.

Method Summary

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

Reads an instance of TenantAlertRuleList from the JsonReader.

String nextLink()

Get the nextLink property: Provides the link to retrieve the next set of elements.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<TenantActivityLogAlertResourceInner> value()

Get the value property: The list of Tenant Activity Log Alert rules.

TenantAlertRuleList withNextLink(String nextLink)

Set the nextLink property: Provides the link to retrieve the next set of elements.

TenantAlertRuleList withValue(List<TenantActivityLogAlertResourceInner> value)

Set the value property: The list of Tenant Activity Log Alert rules.

Methods inherited from java.lang.Object

Constructor Details

TenantAlertRuleList

public TenantAlertRuleList()

Creates an instance of TenantAlertRuleList class.

Method Details

fromJson

public static TenantAlertRuleList fromJson(JsonReader jsonReader)

Reads an instance of TenantAlertRuleList from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

nextLink

public String nextLink()

Get the nextLink property: Provides the link to retrieve the next set of elements.

Returns:

the nextLink value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List<TenantActivityLogAlertResourceInner> value()

Get the value property: The list of Tenant Activity Log Alert rules.

Returns:

the value value.

withNextLink

public TenantAlertRuleList withNextLink(String nextLink)

Set the nextLink property: Provides the link to retrieve the next set of elements.

Parameters:

nextLink - the nextLink value to set.

Returns:

the TenantAlertRuleList object itself.

withValue

public TenantAlertRuleList withValue(List<TenantActivityLogAlertResourceInner> value)

Set the value property: The list of Tenant Activity Log Alert rules.

Parameters:

value - the value value to set.

Returns:

the TenantAlertRuleList object itself.

Applies to