// *** 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.azure.sentinel.inputs;

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


public final class AlertRuleAnomalyDuplicateSingleSelectObservationArgs extends com.pulumi.resources.ResourceArgs {

    public static final AlertRuleAnomalyDuplicateSingleSelectObservationArgs Empty = new AlertRuleAnomalyDuplicateSingleSelectObservationArgs();

    /**
     * The description of the single select observation.
     * 
     */
    @Import(name="description")
    private @Nullable Output<String> description;

    /**
     * @return The description of the single select observation.
     * 
     */
    public Optional<Output<String>> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * The name of the single select observation.
     * 
     */
    @Import(name="name", required=true)
    private Output<String> name;

    /**
     * @return The name of the single select observation.
     * 
     */
    public Output<String> name() {
        return this.name;
    }

    /**
     * A list of supported values of the single select observation.
     * 
     */
    @Import(name="supportedValues")
    private @Nullable Output<List<String>> supportedValues;

    /**
     * @return A list of supported values of the single select observation.
     * 
     */
    public Optional<Output<List<String>>> supportedValues() {
        return Optional.ofNullable(this.supportedValues);
    }

    /**
     * The value of the multi select observation.
     * 
     */
    @Import(name="value", required=true)
    private Output<String> value;

    /**
     * @return The value of the multi select observation.
     * 
     */
    public Output<String> value() {
        return this.value;
    }

    private AlertRuleAnomalyDuplicateSingleSelectObservationArgs() {}

    private AlertRuleAnomalyDuplicateSingleSelectObservationArgs(AlertRuleAnomalyDuplicateSingleSelectObservationArgs $) {
        this.description = $.description;
        this.name = $.name;
        this.supportedValues = $.supportedValues;
        this.value = $.value;
    }

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

    public static final class Builder {
        private AlertRuleAnomalyDuplicateSingleSelectObservationArgs $;

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

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

        /**
         * @param description The description of the single select observation.
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output<String> description) {
            $.description = description;
            return this;
        }

        /**
         * @param description The description of the single select observation.
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param name The name of the single select observation.
         * 
         * @return builder
         * 
         */
        public Builder name(Output<String> name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name of the single select observation.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param supportedValues A list of supported values of the single select observation.
         * 
         * @return builder
         * 
         */
        public Builder supportedValues(@Nullable Output<List<String>> supportedValues) {
            $.supportedValues = supportedValues;
            return this;
        }

        /**
         * @param supportedValues A list of supported values of the single select observation.
         * 
         * @return builder
         * 
         */
        public Builder supportedValues(List<String> supportedValues) {
            return supportedValues(Output.of(supportedValues));
        }

        /**
         * @param supportedValues A list of supported values of the single select observation.
         * 
         * @return builder
         * 
         */
        public Builder supportedValues(String... supportedValues) {
            return supportedValues(List.of(supportedValues));
        }

        /**
         * @param value The value of the multi select observation.
         * 
         * @return builder
         * 
         */
        public Builder value(Output<String> value) {
            $.value = value;
            return this;
        }

        /**
         * @param value The value of the multi select observation.
         * 
         * @return builder
         * 
         */
        public Builder value(String value) {
            return value(Output.of(value));
        }

        public AlertRuleAnomalyDuplicateSingleSelectObservationArgs build() {
            $.name = Objects.requireNonNull($.name, "expected parameter 'name' to be non-null");
            $.value = Objects.requireNonNull($.value, "expected parameter 'value' to be non-null");
            return $;
        }
    }

}
