AlertModificationItem Class
- java.
lang. Object - com.
azure. resourcemanager. alertsmanagement. models. AlertModificationItem
- com.
Implements
public final class AlertModificationItem
implements JsonSerializable<AlertModificationItem>
Alert modification item.
Constructor Summary
| Constructor | Description |
|---|---|
| AlertModificationItem() |
Creates an instance of Alert |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
comments()
Get the comments property: Modification comments. |
| String |
description()
Get the description property: Description of the modification. |
|
static
Alert |
fromJson(JsonReader jsonReader)
Reads an instance of Alert |
|
Alert |
modificationEvent()
Get the modification |
| String |
modifiedAt()
Get the modified |
| String |
modifiedBy()
Get the modified |
| String |
newValue()
Get the new |
| String |
oldValue()
Get the old |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Alert |
withComments(String comments)
Set the comments property: Modification comments. |
|
Alert |
withDescription(String description)
Set the description property: Description of the modification. |
|
Alert |
withModificationEvent(AlertModificationEvent modificationEvent)
Set the modification |
|
Alert |
withModifiedAt(String modifiedAt)
Set the modified |
|
Alert |
withModifiedBy(String modifiedBy)
Set the modified |
|
Alert |
withNewValue(String newValue)
Set the new |
|
Alert |
withOldValue(String oldValue)
Set the old |
Methods inherited from java.lang.Object
Constructor Details
AlertModificationItem
public AlertModificationItem()
Creates an instance of AlertModificationItem class.
Method Details
comments
public String comments()
Get the comments property: Modification comments.
Returns:
description
public String description()
Get the description property: Description of the modification.
Returns:
fromJson
public static AlertModificationItem fromJson(JsonReader jsonReader)
Reads an instance of AlertModificationItem from the JsonReader.
Parameters:
Returns:
Throws:
modificationEvent
public AlertModificationEvent modificationEvent()
Get the modificationEvent property: Reason for the modification.
Returns:
modifiedAt
public String modifiedAt()
Get the modifiedAt property: Modified date and time.
Returns:
modifiedBy
public String modifiedBy()
Get the modifiedBy property: Modified user details (Principal client name).
Returns:
newValue
public String newValue()
Get the newValue property: New value.
Returns:
oldValue
public String oldValue()
Get the oldValue property: Old value.
Returns:
toJson
validate
public void validate()
Validates the instance.
withComments
public AlertModificationItem withComments(String comments)
Set the comments property: Modification comments.
Parameters:
Returns:
withDescription
public AlertModificationItem withDescription(String description)
Set the description property: Description of the modification.
Parameters:
Returns:
withModificationEvent
public AlertModificationItem withModificationEvent(AlertModificationEvent modificationEvent)
Set the modificationEvent property: Reason for the modification.
Parameters:
Returns:
withModifiedAt
public AlertModificationItem withModifiedAt(String modifiedAt)
Set the modifiedAt property: Modified date and time.
Parameters:
Returns:
withModifiedBy
public AlertModificationItem withModifiedBy(String modifiedBy)
Set the modifiedBy property: Modified user details (Principal client name).
Parameters:
Returns:
withNewValue
public AlertModificationItem withNewValue(String newValue)
Set the newValue property: New value.
Parameters:
Returns:
withOldValue
public AlertModificationItem withOldValue(String oldValue)
Set the oldValue property: Old value.
Parameters:
Returns: