Class AlertProcessingRuleInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.alertsmanagement.models.ManagedResource
com.azure.resourcemanager.alertsmanagement.fluent.models.AlertProcessingRuleInner

public final class AlertProcessingRuleInner extends ManagedResource
Alert processing rule object containing target scopes, conditions and scheduling logic.
  • Constructor Details

    • AlertProcessingRuleInner

      public AlertProcessingRuleInner()
  • Method Details

    • properties

      public AlertProcessingRuleProperties properties()
      Get the properties property: Alert processing rule properties.
      Returns:
      the properties value.
    • withProperties

      public AlertProcessingRuleInner withProperties(AlertProcessingRuleProperties properties)
      Set the properties property: Alert processing rule properties.
      Parameters:
      properties - the properties value to set.
      Returns:
      the AlertProcessingRuleInner object itself.
    • systemData

      public com.azure.core.management.SystemData systemData()
      Get the systemData property: Alert processing rule system data.
      Returns:
      the systemData value.
    • withLocation

      public AlertProcessingRuleInner withLocation(String location)
      Set the location property: Resource location.
      Overrides:
      withLocation in class ManagedResource
      Parameters:
      location - the location value to set.
      Returns:
      the ManagedResource object itself.
    • withTags

      public AlertProcessingRuleInner withTags(Map<String,String> tags)
      Set the tags property: Resource tags.
      Overrides:
      withTags in class ManagedResource
      Parameters:
      tags - the tags value to set.
      Returns:
      the ManagedResource object itself.
    • validate

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