ActionGroup Class
- java.
lang. Object - com.
azure. resourcemanager. alertsmanagement. models. ActionGroup
- com.
Implements
public final class ActionGroup
implements JsonSerializable<ActionGroup>
A pointer to an Azure Action Group.
Constructor Summary
| Constructor | Description |
|---|---|
| ActionGroup() |
Creates an instance of Action |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
actionGroupId()
Get the action |
| Map<String,String> |
actionProperties()
Get the action |
|
static
Action |
fromJson(JsonReader jsonReader)
Reads an instance of Action |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
| Map<String,String> |
webhookProperties()
Get the webhook |
|
Action |
withActionGroupId(String actionGroupId)
Set the action |
|
Action |
withActionProperties(Map<String,String> actionProperties)
Set the action |
|
Action |
withWebhookProperties(Map<String,String> webhookProperties)
Set the webhook |
Methods inherited from java.lang.Object
Constructor Details
ActionGroup
public ActionGroup()
Creates an instance of ActionGroup class.
Method Details
actionGroupId
public String actionGroupId()
Get the actionGroupId property: The resource ID of the Action Group. This cannot be null or empty.
Returns:
actionProperties
public Map<String,String> actionProperties()
Get the actionProperties property: Predefined list of properties and configuration items for the action group.
Returns:
fromJson
public static ActionGroup fromJson(JsonReader jsonReader)
Reads an instance of ActionGroup from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
webhookProperties
public Map<String,String> webhookProperties()
Get the webhookProperties property: the dictionary of custom properties to include with the post operation. These data are appended to the webhook payload.
Returns:
withActionGroupId
public ActionGroup withActionGroupId(String actionGroupId)
Set the actionGroupId property: The resource ID of the Action Group. This cannot be null or empty.
Parameters:
Returns:
withActionProperties
public ActionGroup withActionProperties(Map<String,String> actionProperties)
Set the actionProperties property: Predefined list of properties and configuration items for the action group.
Parameters:
Returns:
withWebhookProperties
public ActionGroup withWebhookProperties(Map<String,String> webhookProperties)
Set the webhookProperties property: the dictionary of custom properties to include with the post operation. These data are appended to the webhook payload.
Parameters:
Returns: