Class ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions

java.lang.Object
com.azure.resourcemanager.applicationinsights.models.ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions

public final class ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions extends Object
Static definitions of the ProactiveDetection configuration rule (same values for all components).
  • Constructor Details

    • ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions

      public ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions()
  • Method Details

    • name

      public String name()
      Get the name property: The rule name.
      Returns:
      the name value.
    • withName

      Set the name property: The rule name.
      Parameters:
      name - the name value to set.
      Returns:
      the ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions object itself.
    • displayName

      public String displayName()
      Get the displayName property: The rule name as it is displayed in UI.
      Returns:
      the displayName value.
    • withDisplayName

      Set the displayName property: The rule name as it is displayed in UI.
      Parameters:
      displayName - the displayName value to set.
      Returns:
      the ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions object itself.
    • description

      public String description()
      Get the description property: The rule description.
      Returns:
      the description value.
    • withDescription

      Set the description property: The rule description.
      Parameters:
      description - the description value to set.
      Returns:
      the ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions object itself.
    • helpUrl

      public String helpUrl()
      Get the helpUrl property: URL which displays additional info about the proactive detection rule.
      Returns:
      the helpUrl value.
    • withHelpUrl

      Set the helpUrl property: URL which displays additional info about the proactive detection rule.
      Parameters:
      helpUrl - the helpUrl value to set.
      Returns:
      the ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions object itself.
    • isHidden

      public Boolean isHidden()
      Get the isHidden property: A flag indicating whether the rule is hidden (from the UI).
      Returns:
      the isHidden value.
    • withIsHidden

      Set the isHidden property: A flag indicating whether the rule is hidden (from the UI).
      Parameters:
      isHidden - the isHidden value to set.
      Returns:
      the ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions object itself.
    • isEnabledByDefault

      public Boolean isEnabledByDefault()
      Get the isEnabledByDefault property: A flag indicating whether the rule is enabled by default.
      Returns:
      the isEnabledByDefault value.
    • withIsEnabledByDefault

      public ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions withIsEnabledByDefault(Boolean isEnabledByDefault)
      Set the isEnabledByDefault property: A flag indicating whether the rule is enabled by default.
      Parameters:
      isEnabledByDefault - the isEnabledByDefault value to set.
      Returns:
      the ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions object itself.
    • isInPreview

      public Boolean isInPreview()
      Get the isInPreview property: A flag indicating whether the rule is in preview.
      Returns:
      the isInPreview value.
    • withIsInPreview

      Set the isInPreview property: A flag indicating whether the rule is in preview.
      Parameters:
      isInPreview - the isInPreview value to set.
      Returns:
      the ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions object itself.
    • supportsEmailNotifications

      public Boolean supportsEmailNotifications()
      Get the supportsEmailNotifications property: A flag indicating whether email notifications are supported for detections for this rule.
      Returns:
      the supportsEmailNotifications value.
    • withSupportsEmailNotifications

      public ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions withSupportsEmailNotifications(Boolean supportsEmailNotifications)
      Set the supportsEmailNotifications property: A flag indicating whether email notifications are supported for detections for this rule.
      Parameters:
      supportsEmailNotifications - the supportsEmailNotifications value to set.
      Returns:
      the ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions object itself.
    • validate

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