Class SmartGroupModificationItem

java.lang.Object
com.azure.resourcemanager.alertsmanagement.models.SmartGroupModificationItem

public final class SmartGroupModificationItem extends Object
smartGroup modification item.
  • Constructor Details

    • SmartGroupModificationItem

      public SmartGroupModificationItem()
  • Method Details

    • modificationEvent

      public SmartGroupModificationEvent modificationEvent()
      Get the modificationEvent property: Reason for the modification.
      Returns:
      the modificationEvent value.
    • withModificationEvent

      public SmartGroupModificationItem withModificationEvent(SmartGroupModificationEvent modificationEvent)
      Set the modificationEvent property: Reason for the modification.
      Parameters:
      modificationEvent - the modificationEvent value to set.
      Returns:
      the SmartGroupModificationItem object itself.
    • oldValue

      public String oldValue()
      Get the oldValue property: Old value.
      Returns:
      the oldValue value.
    • withOldValue

      public SmartGroupModificationItem withOldValue(String oldValue)
      Set the oldValue property: Old value.
      Parameters:
      oldValue - the oldValue value to set.
      Returns:
      the SmartGroupModificationItem object itself.
    • newValue

      public String newValue()
      Get the newValue property: New value.
      Returns:
      the newValue value.
    • withNewValue

      public SmartGroupModificationItem withNewValue(String newValue)
      Set the newValue property: New value.
      Parameters:
      newValue - the newValue value to set.
      Returns:
      the SmartGroupModificationItem object itself.
    • modifiedAt

      public String modifiedAt()
      Get the modifiedAt property: Modified date and time.
      Returns:
      the modifiedAt value.
    • withModifiedAt

      public SmartGroupModificationItem withModifiedAt(String modifiedAt)
      Set the modifiedAt property: Modified date and time.
      Parameters:
      modifiedAt - the modifiedAt value to set.
      Returns:
      the SmartGroupModificationItem object itself.
    • modifiedBy

      public String modifiedBy()
      Get the modifiedBy property: Modified user details (Principal client name).
      Returns:
      the modifiedBy value.
    • withModifiedBy

      public SmartGroupModificationItem withModifiedBy(String modifiedBy)
      Set the modifiedBy property: Modified user details (Principal client name).
      Parameters:
      modifiedBy - the modifiedBy value to set.
      Returns:
      the SmartGroupModificationItem object itself.
    • comments

      public String comments()
      Get the comments property: Modification comments.
      Returns:
      the comments value.
    • withComments

      public SmartGroupModificationItem withComments(String comments)
      Set the comments property: Modification comments.
      Parameters:
      comments - the comments value to set.
      Returns:
      the SmartGroupModificationItem object itself.
    • description

      public String description()
      Get the description property: Description of the modification.
      Returns:
      the description value.
    • withDescription

      public SmartGroupModificationItem withDescription(String description)
      Set the description property: Description of the modification.
      Parameters:
      description - the description value to set.
      Returns:
      the SmartGroupModificationItem object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.