Action Class
- java.
lang. Object - com.
azure. resourcemanager. alertsmanagement. models. Action
- com.
Implements
public class Action
implements JsonSerializable<Action>
Action to be applied.
Constructor Summary
| Constructor | Description |
|---|---|
| Action() |
Creates an instance of Action class. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Action |
actionType()
Get the action |
| static Action |
fromJson(JsonReader jsonReader)
Reads an instance of Action from the Json |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
Action
public Action()
Creates an instance of Action class.
Method Details
actionType
public ActionType actionType()
Get the actionType property: Action that should be applied.
Returns:
fromJson
public static Action fromJson(JsonReader jsonReader)
Reads an instance of Action from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.