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

public final class PatchObject extends Object
Data contract for patch.
  • Constructor Details

    • PatchObject

      public PatchObject()
  • Method Details

    • tags

      public Map<String,String> tags()
      Get the tags property: Tags to be updated.
      Returns:
      the tags value.
    • withTags

      public PatchObject withTags(Map<String,String> tags)
      Set the tags property: Tags to be updated.
      Parameters:
      tags - the tags value to set.
      Returns:
      the PatchObject object itself.
    • enabled

      public Boolean enabled()
      Get the enabled property: Indicates if the given alert processing rule is enabled or disabled.
      Returns:
      the enabled value.
    • withEnabled

      public PatchObject withEnabled(Boolean enabled)
      Set the enabled property: Indicates if the given alert processing rule is enabled or disabled.
      Parameters:
      enabled - the enabled value to set.
      Returns:
      the PatchObject object itself.
    • validate

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