Class ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions


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

      • ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions

        public ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions()
    • Method Detail

      • name

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

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

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

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

        public Boolean isHidden()
        Get the isHidden property: A flag indicating whether the rule is hidden (from the UI).
        Returns:
        the isHidden value.
      • 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.
      • 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.