Class ApplicationInsightsComponentProactiveDetectionConfigurationInner


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

      • ApplicationInsightsComponentProactiveDetectionConfigurationInner

        public ApplicationInsightsComponentProactiveDetectionConfigurationInner()
    • Method Detail

      • name

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

        public Boolean enabled()
        Get the enabled property: A flag that indicates whether this rule is enabled by the user.
        Returns:
        the enabled value.
      • 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

        public ApplicationInsightsComponentProactiveDetectionConfigurationInner withCustomEmails​(List<String> customEmails)
        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.
      • validate

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