AddActionGroups Class
- java.
lang. Object - com.
azure. resourcemanager. alertsmanagement. models. Action - com.
azure. resourcemanager. alertsmanagement. models. AddActionGroups
- com.
- com.
public final class AddActionGroups
extends Action
Add action groups to alert processing rule.
Constructor Summary
| Constructor | Description |
|---|---|
| AddActionGroups() |
Creates an instance of Add |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| List<String> |
actionGroupIds()
Get the action |
|
Action |
actionType()
Get the action |
|
static
Add |
fromJson(JsonReader jsonReader)
Reads an instance of Add |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Add |
withActionGroupIds(List<String> actionGroupIds)
Set the action |
Methods inherited from Action
Methods inherited from java.lang.Object
Constructor Details
AddActionGroups
public AddActionGroups()
Creates an instance of AddActionGroups class.
Method Details
actionGroupIds
public List<String> actionGroupIds()
Get the actionGroupIds property: List of action group Ids to add to alert processing rule.
Returns:
actionType
public ActionType actionType()
Get the actionType property: Action that should be applied.
Overrides:
AddActionGroups.actionType()Returns:
fromJson
public static AddActionGroups fromJson(JsonReader jsonReader)
Reads an instance of AddActionGroups from the JsonReader.
Parameters:
Returns:
Throws:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
AddActionGroups.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
AddActionGroups.validate()withActionGroupIds
public AddActionGroups withActionGroupIds(List<String> actionGroupIds)
Set the actionGroupIds property: List of action group Ids to add to alert processing rule.
Parameters:
Returns: