Class AlertModificationItem
java.lang.Object
com.azure.resourcemanager.alertsmanagement.models.AlertModificationItem
Alert modification item.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncomments()
Get the comments property: Modification comments.Get the description property: Description of the modification.Get the modificationEvent property: Reason for the modification.Get the modifiedAt property: Modified date and time.Get the modifiedBy property: Modified user details (Principal client name).newValue()
Get the newValue property: New value.oldValue()
Get the oldValue property: Old value.void
validate()
Validates the instance.withComments
(String comments) Set the comments property: Modification comments.withDescription
(String description) Set the description property: Description of the modification.withModificationEvent
(AlertModificationEvent modificationEvent) Set the modificationEvent property: Reason for the modification.withModifiedAt
(String modifiedAt) Set the modifiedAt property: Modified date and time.withModifiedBy
(String modifiedBy) Set the modifiedBy property: Modified user details (Principal client name).withNewValue
(String newValue) Set the newValue property: New value.withOldValue
(String oldValue) Set the oldValue property: Old value.
-
Constructor Details
-
AlertModificationItem
public AlertModificationItem()
-
-
Method Details
-
modificationEvent
Get the modificationEvent property: Reason for the modification.- Returns:
- the modificationEvent value.
-
withModificationEvent
Set the modificationEvent property: Reason for the modification.- Parameters:
modificationEvent
- the modificationEvent value to set.- Returns:
- the AlertModificationItem object itself.
-
oldValue
Get the oldValue property: Old value.- Returns:
- the oldValue value.
-
withOldValue
Set the oldValue property: Old value.- Parameters:
oldValue
- the oldValue value to set.- Returns:
- the AlertModificationItem object itself.
-
newValue
Get the newValue property: New value.- Returns:
- the newValue value.
-
withNewValue
Set the newValue property: New value.- Parameters:
newValue
- the newValue value to set.- Returns:
- the AlertModificationItem object itself.
-
modifiedAt
Get the modifiedAt property: Modified date and time.- Returns:
- the modifiedAt value.
-
withModifiedAt
Set the modifiedAt property: Modified date and time.- Parameters:
modifiedAt
- the modifiedAt value to set.- Returns:
- the AlertModificationItem object itself.
-
modifiedBy
Get the modifiedBy property: Modified user details (Principal client name).- Returns:
- the modifiedBy value.
-
withModifiedBy
Set the modifiedBy property: Modified user details (Principal client name).- Parameters:
modifiedBy
- the modifiedBy value to set.- Returns:
- the AlertModificationItem object itself.
-
comments
Get the comments property: Modification comments.- Returns:
- the comments value.
-
withComments
Set the comments property: Modification comments.- Parameters:
comments
- the comments value to set.- Returns:
- the AlertModificationItem object itself.
-
description
Get the description property: Description of the modification.- Returns:
- the description value.
-
withDescription
Set the description property: Description of the modification.- Parameters:
description
- the description value to set.- Returns:
- the AlertModificationItem object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-