All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.insights.inputs.ApplicationInsightsComponentProactiveDetectionConfigurationPropertiesRuleDefinitionsArgs Maven / Gradle / Ivy

// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.azurenative.insights.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Static definitions of the ProactiveDetection configuration rule (same values for all components).
 * 
 */
public final class ApplicationInsightsComponentProactiveDetectionConfigurationPropertiesRuleDefinitionsArgs extends com.pulumi.resources.ResourceArgs {

    public static final ApplicationInsightsComponentProactiveDetectionConfigurationPropertiesRuleDefinitionsArgs Empty = new ApplicationInsightsComponentProactiveDetectionConfigurationPropertiesRuleDefinitionsArgs();

    /**
     * The rule description
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return The rule description
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * The rule name as it is displayed in UI
     * 
     */
    @Import(name="displayName")
    private @Nullable Output displayName;

    /**
     * @return The rule name as it is displayed in UI
     * 
     */
    public Optional> displayName() {
        return Optional.ofNullable(this.displayName);
    }

    /**
     * URL which displays additional info about the proactive detection rule
     * 
     */
    @Import(name="helpUrl")
    private @Nullable Output helpUrl;

    /**
     * @return URL which displays additional info about the proactive detection rule
     * 
     */
    public Optional> helpUrl() {
        return Optional.ofNullable(this.helpUrl);
    }

    /**
     * A flag indicating whether the rule is enabled by default
     * 
     */
    @Import(name="isEnabledByDefault")
    private @Nullable Output isEnabledByDefault;

    /**
     * @return A flag indicating whether the rule is enabled by default
     * 
     */
    public Optional> isEnabledByDefault() {
        return Optional.ofNullable(this.isEnabledByDefault);
    }

    /**
     * A flag indicating whether the rule is hidden (from the UI)
     * 
     */
    @Import(name="isHidden")
    private @Nullable Output isHidden;

    /**
     * @return A flag indicating whether the rule is hidden (from the UI)
     * 
     */
    public Optional> isHidden() {
        return Optional.ofNullable(this.isHidden);
    }

    /**
     * A flag indicating whether the rule is in preview
     * 
     */
    @Import(name="isInPreview")
    private @Nullable Output isInPreview;

    /**
     * @return A flag indicating whether the rule is in preview
     * 
     */
    public Optional> isInPreview() {
        return Optional.ofNullable(this.isInPreview);
    }

    /**
     * The rule name
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return The rule name
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * A flag indicating whether email notifications are supported for detections for this rule
     * 
     */
    @Import(name="supportsEmailNotifications")
    private @Nullable Output supportsEmailNotifications;

    /**
     * @return A flag indicating whether email notifications are supported for detections for this rule
     * 
     */
    public Optional> supportsEmailNotifications() {
        return Optional.ofNullable(this.supportsEmailNotifications);
    }

    private ApplicationInsightsComponentProactiveDetectionConfigurationPropertiesRuleDefinitionsArgs() {}

    private ApplicationInsightsComponentProactiveDetectionConfigurationPropertiesRuleDefinitionsArgs(ApplicationInsightsComponentProactiveDetectionConfigurationPropertiesRuleDefinitionsArgs $) {
        this.description = $.description;
        this.displayName = $.displayName;
        this.helpUrl = $.helpUrl;
        this.isEnabledByDefault = $.isEnabledByDefault;
        this.isHidden = $.isHidden;
        this.isInPreview = $.isInPreview;
        this.name = $.name;
        this.supportsEmailNotifications = $.supportsEmailNotifications;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(ApplicationInsightsComponentProactiveDetectionConfigurationPropertiesRuleDefinitionsArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private ApplicationInsightsComponentProactiveDetectionConfigurationPropertiesRuleDefinitionsArgs $;

        public Builder() {
            $ = new ApplicationInsightsComponentProactiveDetectionConfigurationPropertiesRuleDefinitionsArgs();
        }

        public Builder(ApplicationInsightsComponentProactiveDetectionConfigurationPropertiesRuleDefinitionsArgs defaults) {
            $ = new ApplicationInsightsComponentProactiveDetectionConfigurationPropertiesRuleDefinitionsArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param description The rule description
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description The rule description
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param displayName The rule name as it is displayed in UI
         * 
         * @return builder
         * 
         */
        public Builder displayName(@Nullable Output displayName) {
            $.displayName = displayName;
            return this;
        }

        /**
         * @param displayName The rule name as it is displayed in UI
         * 
         * @return builder
         * 
         */
        public Builder displayName(String displayName) {
            return displayName(Output.of(displayName));
        }

        /**
         * @param helpUrl URL which displays additional info about the proactive detection rule
         * 
         * @return builder
         * 
         */
        public Builder helpUrl(@Nullable Output helpUrl) {
            $.helpUrl = helpUrl;
            return this;
        }

        /**
         * @param helpUrl URL which displays additional info about the proactive detection rule
         * 
         * @return builder
         * 
         */
        public Builder helpUrl(String helpUrl) {
            return helpUrl(Output.of(helpUrl));
        }

        /**
         * @param isEnabledByDefault A flag indicating whether the rule is enabled by default
         * 
         * @return builder
         * 
         */
        public Builder isEnabledByDefault(@Nullable Output isEnabledByDefault) {
            $.isEnabledByDefault = isEnabledByDefault;
            return this;
        }

        /**
         * @param isEnabledByDefault A flag indicating whether the rule is enabled by default
         * 
         * @return builder
         * 
         */
        public Builder isEnabledByDefault(Boolean isEnabledByDefault) {
            return isEnabledByDefault(Output.of(isEnabledByDefault));
        }

        /**
         * @param isHidden A flag indicating whether the rule is hidden (from the UI)
         * 
         * @return builder
         * 
         */
        public Builder isHidden(@Nullable Output isHidden) {
            $.isHidden = isHidden;
            return this;
        }

        /**
         * @param isHidden A flag indicating whether the rule is hidden (from the UI)
         * 
         * @return builder
         * 
         */
        public Builder isHidden(Boolean isHidden) {
            return isHidden(Output.of(isHidden));
        }

        /**
         * @param isInPreview A flag indicating whether the rule is in preview
         * 
         * @return builder
         * 
         */
        public Builder isInPreview(@Nullable Output isInPreview) {
            $.isInPreview = isInPreview;
            return this;
        }

        /**
         * @param isInPreview A flag indicating whether the rule is in preview
         * 
         * @return builder
         * 
         */
        public Builder isInPreview(Boolean isInPreview) {
            return isInPreview(Output.of(isInPreview));
        }

        /**
         * @param name The rule name
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The rule name
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param supportsEmailNotifications A flag indicating whether email notifications are supported for detections for this rule
         * 
         * @return builder
         * 
         */
        public Builder supportsEmailNotifications(@Nullable Output supportsEmailNotifications) {
            $.supportsEmailNotifications = supportsEmailNotifications;
            return this;
        }

        /**
         * @param supportsEmailNotifications A flag indicating whether email notifications are supported for detections for this rule
         * 
         * @return builder
         * 
         */
        public Builder supportsEmailNotifications(Boolean supportsEmailNotifications) {
            return supportsEmailNotifications(Output.of(supportsEmailNotifications));
        }

        public ApplicationInsightsComponentProactiveDetectionConfigurationPropertiesRuleDefinitionsArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy