NotificationRule Class
- java.
lang. Object - com.
azure. developer. loadtesting. models. NotificationRule
- com.
Implements
public class NotificationRule
implements JsonSerializable<NotificationRule>
Notification rule model.
Constructor Summary
| Constructor | Description |
|---|---|
| NotificationRule() |
Creates an instance of Notification |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Notification |
fromJson(JsonReader jsonReader)
Reads an instance of Notification |
| List<String> |
getActionGroupIds()
Get the action |
| String |
getCreatedBy()
Get the created |
|
Offset |
getCreatedDateTime()
Get the created |
| String |
getDisplayName()
Get the display |
| String |
getLastModifiedBy()
Get the last |
|
Offset |
getLastModifiedDateTime()
Get the last |
| String |
getNotificationRuleId()
Get the notification |
|
Notification |
getScope()
Get the scope property: The scope of the notification rule. |
|
Notification |
setActionGroupIds(List<String> actionGroupIds)
Set the action |
|
Notification |
setDisplayName(String displayName)
Set the display |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
NotificationRule
public NotificationRule()
Creates an instance of NotificationRule class.
Method Details
fromJson
public static NotificationRule fromJson(JsonReader jsonReader)
Reads an instance of NotificationRule from the JsonReader.
Parameters:
Returns:
Throws:
getActionGroupIds
public List<String> getActionGroupIds()
Get the actionGroupIds property: The action groups to notify.
Returns:
getCreatedBy
public String getCreatedBy()
Get the createdBy property: The user that created.
Returns:
getCreatedDateTime
public OffsetDateTime getCreatedDateTime()
Get the createdDateTime property: The creation datetime(RFC 3339 literal format).
Returns:
getDisplayName
public String getDisplayName()
Get the displayName property: The name of the notification rule.
Returns:
getLastModifiedBy
public String getLastModifiedBy()
Get the lastModifiedBy property: The user that last modified.
Returns:
getLastModifiedDateTime
public OffsetDateTime getLastModifiedDateTime()
Get the lastModifiedDateTime property: The last Modified datetime(RFC 3339 literal format).
Returns:
getNotificationRuleId
public String getNotificationRuleId()
Get the notificationRuleId property: The unique identifier of the notification rule.
Returns:
getScope
public NotificationScopeType getScope()
Get the scope property: The scope of the notification rule.
Returns:
setActionGroupIds
public NotificationRule setActionGroupIds(List<String> actionGroupIds)
Set the actionGroupIds property: The action groups to notify.
Required when create the resource.
Parameters:
Returns:
setDisplayName
public NotificationRule setDisplayName(String displayName)
Set the displayName property: The name of the notification rule.
Required when create the resource.
Parameters:
Returns: