java.lang.Object
com.azure.resourcemanager.alertsmanagement.fluent.models.PatchProperties

public final class PatchProperties extends Object
Alert processing rule properties supported by patch.
  • Constructor Details

    • PatchProperties

      public PatchProperties()
  • Method Details

    • 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 PatchProperties 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 PatchProperties object itself.
    • validate

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