AlertModificationProperties Class
- java.
lang. Object - com.
azure. resourcemanager. alertsmanagement. models. AlertModificationProperties
- com.
Implements
public final class AlertModificationProperties
implements JsonSerializable<AlertModificationProperties>
Properties of the alert modification item.
Constructor Summary
| Constructor | Description |
|---|---|
| AlertModificationProperties() |
Creates an instance of Alert |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
alertId()
Get the alert |
|
static
Alert |
fromJson(JsonReader jsonReader)
Reads an instance of Alert |
|
List<Alert |
modifications()
Get the modifications property: Modification details. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Alert |
withModifications(List<AlertModificationItem> modifications)
Set the modifications property: Modification details. |
Methods inherited from java.lang.Object
Constructor Details
AlertModificationProperties
public AlertModificationProperties()
Creates an instance of AlertModificationProperties class.
Method Details
alertId
public String alertId()
Get the alertId property: Unique Id of the alert for which the history is being retrieved.
Returns:
fromJson
public static AlertModificationProperties fromJson(JsonReader jsonReader)
Reads an instance of AlertModificationProperties from the JsonReader.
Parameters:
Returns:
Throws:
modifications
public List<AlertModificationItem> modifications()
Get the modifications property: Modification details.
Returns:
toJson
validate
public void validate()
Validates the instance.
withModifications
public AlertModificationProperties withModifications(List<AlertModificationItem> modifications)
Set the modifications property: Modification details.
Parameters:
Returns: