AutomationAction Class

  • java.lang.Object
    • com.azure.resourcemanager.security.models.AutomationAction

Implements

public class AutomationAction
implements JsonSerializable<AutomationAction>

The action that should be triggered.

Constructor Summary

Constructor Description
AutomationAction()

Creates an instance of AutomationAction class.

Method Summary

Modifier and Type Method and Description
ActionType actionType()

Get the actionType property: The type of the action that will be triggered by the Automation.

static AutomationAction fromJson(JsonReader jsonReader)

Reads an instance of AutomationAction from the JsonReader.

JsonWriter 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:

the actionType value.

fromJson

public static AutomationAction fromJson(JsonReader jsonReader)

Reads an instance of AutomationAction from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to