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