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 Summary
Constructors Constructor Description ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
description()
Get the description property: The rule description.String
displayName()
Get the displayName property: The rule name as it is displayed in UI.String
helpUrl()
Get the helpUrl property: URL which displays additional info about the proactive detection rule.Boolean
isEnabledByDefault()
Get the isEnabledByDefault property: A flag indicating whether the rule is enabled by default.Boolean
isHidden()
Get the isHidden property: A flag indicating whether the rule is hidden (from the UI).Boolean
isInPreview()
Get the isInPreview property: A flag indicating whether the rule is in preview.String
name()
Get the name property: The rule name.Boolean
supportsEmailNotifications()
Get the supportsEmailNotifications property: A flag indicating whether email notifications are supported for detections for this rule.void
validate()
Validates the instance.ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions
withDescription(String description)
Set the description property: The rule description.ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions
withDisplayName(String displayName)
Set the displayName property: The rule name as it is displayed in UI.ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions
withHelpUrl(String helpUrl)
Set the helpUrl property: URL which displays additional info about the proactive detection rule.ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions
withIsEnabledByDefault(Boolean isEnabledByDefault)
Set the isEnabledByDefault property: A flag indicating whether the rule is enabled by default.ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions
withIsHidden(Boolean isHidden)
Set the isHidden property: A flag indicating whether the rule is hidden (from the UI).ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions
withIsInPreview(Boolean isInPreview)
Set the isInPreview property: A flag indicating whether the rule is in preview.ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions
withName(String name)
Set the name property: The rule name.ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions
withSupportsEmailNotifications(Boolean supportsEmailNotifications)
Set the supportsEmailNotifications property: A flag indicating whether email notifications are supported for detections for this rule.
-
-
-
Method Detail
-
name
public String name()
Get the name property: The rule name.- Returns:
- the name value.
-
withName
public ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions withName(String name)
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
public ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions withDisplayName(String displayName)
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
public ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions withDescription(String description)
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
public ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions withHelpUrl(String helpUrl)
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
public ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions withIsHidden(Boolean isHidden)
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
public ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions withIsInPreview(Boolean isInPreview)
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.
-
-