Class ApplicationInsightsComponentProactiveDetectionConfigurationInner

java.lang.Object
com.azure.resourcemanager.applicationinsights.fluent.models.ApplicationInsightsComponentProactiveDetectionConfigurationInner

public final class ApplicationInsightsComponentProactiveDetectionConfigurationInner extends Object
Properties that define a ProactiveDetection configuration.
  • Constructor Details

    • ApplicationInsightsComponentProactiveDetectionConfigurationInner

      public ApplicationInsightsComponentProactiveDetectionConfigurationInner()
  • 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 ApplicationInsightsComponentProactiveDetectionConfigurationInner object itself.
    • enabled

      public Boolean enabled()
      Get the enabled property: A flag that indicates whether this rule is enabled by the user.
      Returns:
      the enabled value.
    • withEnabled

      Set the enabled property: A flag that indicates whether this rule is enabled by the user.
      Parameters:
      enabled - the enabled value to set.
      Returns:
      the ApplicationInsightsComponentProactiveDetectionConfigurationInner object itself.
    • sendEmailsToSubscriptionOwners

      public Boolean sendEmailsToSubscriptionOwners()
      Get the sendEmailsToSubscriptionOwners property: A flag that indicated whether notifications on this rule should be sent to subscription owners.
      Returns:
      the sendEmailsToSubscriptionOwners value.
    • withSendEmailsToSubscriptionOwners

      public ApplicationInsightsComponentProactiveDetectionConfigurationInner withSendEmailsToSubscriptionOwners(Boolean sendEmailsToSubscriptionOwners)
      Set the sendEmailsToSubscriptionOwners property: A flag that indicated whether notifications on this rule should be sent to subscription owners.
      Parameters:
      sendEmailsToSubscriptionOwners - the sendEmailsToSubscriptionOwners value to set.
      Returns:
      the ApplicationInsightsComponentProactiveDetectionConfigurationInner object itself.
    • customEmails

      public List<String> customEmails()
      Get the customEmails property: Custom email addresses for this rule notifications.
      Returns:
      the customEmails value.
    • withCustomEmails

      Set the customEmails property: Custom email addresses for this rule notifications.
      Parameters:
      customEmails - the customEmails value to set.
      Returns:
      the ApplicationInsightsComponentProactiveDetectionConfigurationInner object itself.
    • lastUpdatedTime

      public String lastUpdatedTime()
      Get the lastUpdatedTime property: The last time this rule was updated.
      Returns:
      the lastUpdatedTime value.
    • withLastUpdatedTime

      public ApplicationInsightsComponentProactiveDetectionConfigurationInner withLastUpdatedTime(String lastUpdatedTime)
      Set the lastUpdatedTime property: The last time this rule was updated.
      Parameters:
      lastUpdatedTime - the lastUpdatedTime value to set.
      Returns:
      the ApplicationInsightsComponentProactiveDetectionConfigurationInner object itself.
    • ruleDefinitions

      Get the ruleDefinitions property: Static definitions of the ProactiveDetection configuration rule (same values for all components).
      Returns:
      the ruleDefinitions value.
    • withRuleDefinitions

      Set the ruleDefinitions property: Static definitions of the ProactiveDetection configuration rule (same values for all components).
      Parameters:
      ruleDefinitions - the ruleDefinitions value to set.
      Returns:
      the ApplicationInsightsComponentProactiveDetectionConfigurationInner object itself.
    • validate

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