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

com.pulumi.azurenative.insights.outputs.ApplicationInsightsComponentProactiveDetectionConfigurationPropertiesResponseRuleDefinitions Maven / Gradle / Ivy

The newest version!
// *** 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.outputs;

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

@CustomType
public final class ApplicationInsightsComponentProactiveDetectionConfigurationPropertiesResponseRuleDefinitions {
    /**
     * @return The rule description
     * 
     */
    private @Nullable String description;
    /**
     * @return The rule name as it is displayed in UI
     * 
     */
    private @Nullable String displayName;
    /**
     * @return URL which displays additional info about the proactive detection rule
     * 
     */
    private @Nullable String helpUrl;
    /**
     * @return A flag indicating whether the rule is enabled by default
     * 
     */
    private @Nullable Boolean isEnabledByDefault;
    /**
     * @return A flag indicating whether the rule is hidden (from the UI)
     * 
     */
    private @Nullable Boolean isHidden;
    /**
     * @return A flag indicating whether the rule is in preview
     * 
     */
    private @Nullable Boolean isInPreview;
    /**
     * @return The rule name
     * 
     */
    private @Nullable String name;
    /**
     * @return A flag indicating whether email notifications are supported for detections for this rule
     * 
     */
    private @Nullable Boolean supportsEmailNotifications;

    private ApplicationInsightsComponentProactiveDetectionConfigurationPropertiesResponseRuleDefinitions() {}
    /**
     * @return The rule description
     * 
     */
    public Optional description() {
        return Optional.ofNullable(this.description);
    }
    /**
     * @return The rule name as it is displayed in UI
     * 
     */
    public Optional displayName() {
        return Optional.ofNullable(this.displayName);
    }
    /**
     * @return URL which displays additional info about the proactive detection rule
     * 
     */
    public Optional helpUrl() {
        return Optional.ofNullable(this.helpUrl);
    }
    /**
     * @return A flag indicating whether the rule is enabled by default
     * 
     */
    public Optional isEnabledByDefault() {
        return Optional.ofNullable(this.isEnabledByDefault);
    }
    /**
     * @return A flag indicating whether the rule is hidden (from the UI)
     * 
     */
    public Optional isHidden() {
        return Optional.ofNullable(this.isHidden);
    }
    /**
     * @return A flag indicating whether the rule is in preview
     * 
     */
    public Optional isInPreview() {
        return Optional.ofNullable(this.isInPreview);
    }
    /**
     * @return The rule name
     * 
     */
    public Optional name() {
        return Optional.ofNullable(this.name);
    }
    /**
     * @return A flag indicating whether email notifications are supported for detections for this rule
     * 
     */
    public Optional supportsEmailNotifications() {
        return Optional.ofNullable(this.supportsEmailNotifications);
    }

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

    public static Builder builder(ApplicationInsightsComponentProactiveDetectionConfigurationPropertiesResponseRuleDefinitions defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String description;
        private @Nullable String displayName;
        private @Nullable String helpUrl;
        private @Nullable Boolean isEnabledByDefault;
        private @Nullable Boolean isHidden;
        private @Nullable Boolean isInPreview;
        private @Nullable String name;
        private @Nullable Boolean supportsEmailNotifications;
        public Builder() {}
        public Builder(ApplicationInsightsComponentProactiveDetectionConfigurationPropertiesResponseRuleDefinitions defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.description = defaults.description;
    	      this.displayName = defaults.displayName;
    	      this.helpUrl = defaults.helpUrl;
    	      this.isEnabledByDefault = defaults.isEnabledByDefault;
    	      this.isHidden = defaults.isHidden;
    	      this.isInPreview = defaults.isInPreview;
    	      this.name = defaults.name;
    	      this.supportsEmailNotifications = defaults.supportsEmailNotifications;
        }

        @CustomType.Setter
        public Builder description(@Nullable String description) {

            this.description = description;
            return this;
        }
        @CustomType.Setter
        public Builder displayName(@Nullable String displayName) {

            this.displayName = displayName;
            return this;
        }
        @CustomType.Setter
        public Builder helpUrl(@Nullable String helpUrl) {

            this.helpUrl = helpUrl;
            return this;
        }
        @CustomType.Setter
        public Builder isEnabledByDefault(@Nullable Boolean isEnabledByDefault) {

            this.isEnabledByDefault = isEnabledByDefault;
            return this;
        }
        @CustomType.Setter
        public Builder isHidden(@Nullable Boolean isHidden) {

            this.isHidden = isHidden;
            return this;
        }
        @CustomType.Setter
        public Builder isInPreview(@Nullable Boolean isInPreview) {

            this.isInPreview = isInPreview;
            return this;
        }
        @CustomType.Setter
        public Builder name(@Nullable String name) {

            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder supportsEmailNotifications(@Nullable Boolean supportsEmailNotifications) {

            this.supportsEmailNotifications = supportsEmailNotifications;
            return this;
        }
        public ApplicationInsightsComponentProactiveDetectionConfigurationPropertiesResponseRuleDefinitions build() {
            final var _resultValue = new ApplicationInsightsComponentProactiveDetectionConfigurationPropertiesResponseRuleDefinitions();
            _resultValue.description = description;
            _resultValue.displayName = displayName;
            _resultValue.helpUrl = helpUrl;
            _resultValue.isEnabledByDefault = isEnabledByDefault;
            _resultValue.isHidden = isHidden;
            _resultValue.isInPreview = isInPreview;
            _resultValue.name = name;
            _resultValue.supportsEmailNotifications = supportsEmailNotifications;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy