다음을 통해 공유


ActionList Class

  • java.lang.Object
    • com.azure.resourcemanager.monitor.models.ActionList

Implements

public final class ActionList
implements JsonSerializable<ActionList>

A list of Activity Log Alert rule actions.

Constructor Summary

Constructor Description
ActionList()

Creates an instance of ActionList class.

Method Summary

Modifier and Type Method and Description
List<ActivityLogAlertActionGroup> actionGroups()

Get the actionGroups property: The list of the Action Groups.

static ActionList fromJson(JsonReader jsonReader)

Reads an instance of ActionList from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ActionList withActionGroups(List<ActivityLogAlertActionGroup> actionGroups)

Set the actionGroups property: The list of the Action Groups.

Methods inherited from java.lang.Object

Constructor Details

ActionList

public ActionList()

Creates an instance of ActionList class.

Method Details

actionGroups

public List<ActivityLogAlertActionGroup> actionGroups()

Get the actionGroups property: The list of the Action Groups.

Returns:

the actionGroups value.

fromJson

public static ActionList fromJson(JsonReader jsonReader)

Reads an instance of ActionList from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withActionGroups

public ActionList withActionGroups(List<ActivityLogAlertActionGroup> actionGroups)

Set the actionGroups property: The list of the Action Groups.

Parameters:

actionGroups - the actionGroups value to set.

Returns:

the ActionList object itself.

Applies to