// *** 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 AlertRuleAnomalyDuplicateRequiredDataConnectorArgs extends com.pulumi.resources.ResourceArgs {

    public static final AlertRuleAnomalyDuplicateRequiredDataConnectorArgs Empty = new AlertRuleAnomalyDuplicateRequiredDataConnectorArgs();

    /**
     * The ID of the required Data Connector.
     * 
     */
    @Import(name="connectorId")
    private @Nullable Output<String> connectorId;

    /**
     * @return The ID of the required Data Connector.
     * 
     */
    public Optional<Output<String>> connectorId() {
        return Optional.ofNullable(this.connectorId);
    }

    /**
     * A list of data types of the required Data Connector.
     * 
     */
    @Import(name="dataTypes")
    private @Nullable Output<List<String>> dataTypes;

    /**
     * @return A list of data types of the required Data Connector.
     * 
     */
    public Optional<Output<List<String>>> dataTypes() {
        return Optional.ofNullable(this.dataTypes);
    }

    private AlertRuleAnomalyDuplicateRequiredDataConnectorArgs() {}

    private AlertRuleAnomalyDuplicateRequiredDataConnectorArgs(AlertRuleAnomalyDuplicateRequiredDataConnectorArgs $) {
        this.connectorId = $.connectorId;
        this.dataTypes = $.dataTypes;
    }

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

    public static final class Builder {
        private AlertRuleAnomalyDuplicateRequiredDataConnectorArgs $;

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

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

        /**
         * @param connectorId The ID of the required Data Connector.
         * 
         * @return builder
         * 
         */
        public Builder connectorId(@Nullable Output<String> connectorId) {
            $.connectorId = connectorId;
            return this;
        }

        /**
         * @param connectorId The ID of the required Data Connector.
         * 
         * @return builder
         * 
         */
        public Builder connectorId(String connectorId) {
            return connectorId(Output.of(connectorId));
        }

        /**
         * @param dataTypes A list of data types of the required Data Connector.
         * 
         * @return builder
         * 
         */
        public Builder dataTypes(@Nullable Output<List<String>> dataTypes) {
            $.dataTypes = dataTypes;
            return this;
        }

        /**
         * @param dataTypes A list of data types of the required Data Connector.
         * 
         * @return builder
         * 
         */
        public Builder dataTypes(List<String> dataTypes) {
            return dataTypes(Output.of(dataTypes));
        }

        /**
         * @param dataTypes A list of data types of the required Data Connector.
         * 
         * @return builder
         * 
         */
        public Builder dataTypes(String... dataTypes) {
            return dataTypes(List.of(dataTypes));
        }

        public AlertRuleAnomalyDuplicateRequiredDataConnectorArgs build() {
            return $;
        }
    }

}
