SmartGroupModificationItem Class
- java.
lang. Object - com.
azure. resourcemanager. alertsmanagement. models. SmartGroupModificationItem
- com.
Implements
public final class SmartGroupModificationItem
implements JsonSerializable<SmartGroupModificationItem>
smartGroup modification item.
Constructor Summary
| Constructor | Description |
|---|---|
| SmartGroupModificationItem() |
Creates an instance of Smart |
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
Smart |
fromJson(JsonReader jsonReader)
Reads an instance of Smart |
|
Smart |
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. |
|
Smart |
withComments(String comments)
Set the comments property: Modification comments. |
|
Smart |
withDescription(String description)
Set the description property: Description of the modification. |
|
Smart |
withModificationEvent(SmartGroupModificationEvent modificationEvent)
Set the modification |
|
Smart |
withModifiedAt(String modifiedAt)
Set the modified |
|
Smart |
withModifiedBy(String modifiedBy)
Set the modified |
|
Smart |
withNewValue(String newValue)
Set the new |
|
Smart |
withOldValue(String oldValue)
Set the old |
Methods inherited from java.lang.Object
Constructor Details
SmartGroupModificationItem
public SmartGroupModificationItem()
Creates an instance of SmartGroupModificationItem 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 SmartGroupModificationItem fromJson(JsonReader jsonReader)
Reads an instance of SmartGroupModificationItem from the JsonReader.
Parameters:
Returns:
Throws:
modificationEvent
public SmartGroupModificationEvent 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 SmartGroupModificationItem withComments(String comments)
Set the comments property: Modification comments.
Parameters:
Returns:
withDescription
public SmartGroupModificationItem withDescription(String description)
Set the description property: Description of the modification.
Parameters:
Returns:
withModificationEvent
public SmartGroupModificationItem withModificationEvent(SmartGroupModificationEvent modificationEvent)
Set the modificationEvent property: Reason for the modification.
Parameters:
Returns:
withModifiedAt
public SmartGroupModificationItem withModifiedAt(String modifiedAt)
Set the modifiedAt property: Modified date and time.
Parameters:
Returns:
withModifiedBy
public SmartGroupModificationItem withModifiedBy(String modifiedBy)
Set the modifiedBy property: Modified user details (Principal client name).
Parameters:
Returns:
withNewValue
public SmartGroupModificationItem withNewValue(String newValue)
Set the newValue property: New value.
Parameters:
Returns:
withOldValue
public SmartGroupModificationItem withOldValue(String oldValue)
Set the oldValue property: Old value.
Parameters:
Returns: