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

com.pulumi.azurenative.timeseriesinsights.ReferenceDataSetArgs Maven / Gradle / Ivy

There is a newer version: 2.82.0
Show 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.timeseriesinsights;

import com.pulumi.azurenative.timeseriesinsights.enums.DataStringComparisonBehavior;
import com.pulumi.azurenative.timeseriesinsights.inputs.ReferenceDataSetKeyPropertyArgs;
import com.pulumi.core.Either;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final ReferenceDataSetArgs Empty = new ReferenceDataSetArgs();

    /**
     * The reference data set key comparison behavior can be set using this property. By default, the value is 'Ordinal' - which means case sensitive key comparison will be performed while joining reference data with events or while adding new reference data. When 'OrdinalIgnoreCase' is set, case insensitive comparison will be used.
     * 
     */
    @Import(name="dataStringComparisonBehavior")
    private @Nullable Output> dataStringComparisonBehavior;

    /**
     * @return The reference data set key comparison behavior can be set using this property. By default, the value is 'Ordinal' - which means case sensitive key comparison will be performed while joining reference data with events or while adding new reference data. When 'OrdinalIgnoreCase' is set, case insensitive comparison will be used.
     * 
     */
    public Optional>> dataStringComparisonBehavior() {
        return Optional.ofNullable(this.dataStringComparisonBehavior);
    }

    /**
     * The name of the Time Series Insights environment associated with the specified resource group.
     * 
     */
    @Import(name="environmentName", required=true)
    private Output environmentName;

    /**
     * @return The name of the Time Series Insights environment associated with the specified resource group.
     * 
     */
    public Output environmentName() {
        return this.environmentName;
    }

    /**
     * The list of key properties for the reference data set.
     * 
     */
    @Import(name="keyProperties", required=true)
    private Output> keyProperties;

    /**
     * @return The list of key properties for the reference data set.
     * 
     */
    public Output> keyProperties() {
        return this.keyProperties;
    }

    /**
     * The location of the resource.
     * 
     */
    @Import(name="location")
    private @Nullable Output location;

    /**
     * @return The location of the resource.
     * 
     */
    public Optional> location() {
        return Optional.ofNullable(this.location);
    }

    /**
     * Name of the reference data set.
     * 
     */
    @Import(name="referenceDataSetName")
    private @Nullable Output referenceDataSetName;

    /**
     * @return Name of the reference data set.
     * 
     */
    public Optional> referenceDataSetName() {
        return Optional.ofNullable(this.referenceDataSetName);
    }

    /**
     * Name of an Azure Resource group.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return Name of an Azure Resource group.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * Key-value pairs of additional properties for the resource.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return Key-value pairs of additional properties for the resource.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    private ReferenceDataSetArgs() {}

    private ReferenceDataSetArgs(ReferenceDataSetArgs $) {
        this.dataStringComparisonBehavior = $.dataStringComparisonBehavior;
        this.environmentName = $.environmentName;
        this.keyProperties = $.keyProperties;
        this.location = $.location;
        this.referenceDataSetName = $.referenceDataSetName;
        this.resourceGroupName = $.resourceGroupName;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private ReferenceDataSetArgs $;

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

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

        /**
         * @param dataStringComparisonBehavior The reference data set key comparison behavior can be set using this property. By default, the value is 'Ordinal' - which means case sensitive key comparison will be performed while joining reference data with events or while adding new reference data. When 'OrdinalIgnoreCase' is set, case insensitive comparison will be used.
         * 
         * @return builder
         * 
         */
        public Builder dataStringComparisonBehavior(@Nullable Output> dataStringComparisonBehavior) {
            $.dataStringComparisonBehavior = dataStringComparisonBehavior;
            return this;
        }

        /**
         * @param dataStringComparisonBehavior The reference data set key comparison behavior can be set using this property. By default, the value is 'Ordinal' - which means case sensitive key comparison will be performed while joining reference data with events or while adding new reference data. When 'OrdinalIgnoreCase' is set, case insensitive comparison will be used.
         * 
         * @return builder
         * 
         */
        public Builder dataStringComparisonBehavior(Either dataStringComparisonBehavior) {
            return dataStringComparisonBehavior(Output.of(dataStringComparisonBehavior));
        }

        /**
         * @param dataStringComparisonBehavior The reference data set key comparison behavior can be set using this property. By default, the value is 'Ordinal' - which means case sensitive key comparison will be performed while joining reference data with events or while adding new reference data. When 'OrdinalIgnoreCase' is set, case insensitive comparison will be used.
         * 
         * @return builder
         * 
         */
        public Builder dataStringComparisonBehavior(String dataStringComparisonBehavior) {
            return dataStringComparisonBehavior(Either.ofLeft(dataStringComparisonBehavior));
        }

        /**
         * @param dataStringComparisonBehavior The reference data set key comparison behavior can be set using this property. By default, the value is 'Ordinal' - which means case sensitive key comparison will be performed while joining reference data with events or while adding new reference data. When 'OrdinalIgnoreCase' is set, case insensitive comparison will be used.
         * 
         * @return builder
         * 
         */
        public Builder dataStringComparisonBehavior(DataStringComparisonBehavior dataStringComparisonBehavior) {
            return dataStringComparisonBehavior(Either.ofRight(dataStringComparisonBehavior));
        }

        /**
         * @param environmentName The name of the Time Series Insights environment associated with the specified resource group.
         * 
         * @return builder
         * 
         */
        public Builder environmentName(Output environmentName) {
            $.environmentName = environmentName;
            return this;
        }

        /**
         * @param environmentName The name of the Time Series Insights environment associated with the specified resource group.
         * 
         * @return builder
         * 
         */
        public Builder environmentName(String environmentName) {
            return environmentName(Output.of(environmentName));
        }

        /**
         * @param keyProperties The list of key properties for the reference data set.
         * 
         * @return builder
         * 
         */
        public Builder keyProperties(Output> keyProperties) {
            $.keyProperties = keyProperties;
            return this;
        }

        /**
         * @param keyProperties The list of key properties for the reference data set.
         * 
         * @return builder
         * 
         */
        public Builder keyProperties(List keyProperties) {
            return keyProperties(Output.of(keyProperties));
        }

        /**
         * @param keyProperties The list of key properties for the reference data set.
         * 
         * @return builder
         * 
         */
        public Builder keyProperties(ReferenceDataSetKeyPropertyArgs... keyProperties) {
            return keyProperties(List.of(keyProperties));
        }

        /**
         * @param location The location of the resource.
         * 
         * @return builder
         * 
         */
        public Builder location(@Nullable Output location) {
            $.location = location;
            return this;
        }

        /**
         * @param location The location of the resource.
         * 
         * @return builder
         * 
         */
        public Builder location(String location) {
            return location(Output.of(location));
        }

        /**
         * @param referenceDataSetName Name of the reference data set.
         * 
         * @return builder
         * 
         */
        public Builder referenceDataSetName(@Nullable Output referenceDataSetName) {
            $.referenceDataSetName = referenceDataSetName;
            return this;
        }

        /**
         * @param referenceDataSetName Name of the reference data set.
         * 
         * @return builder
         * 
         */
        public Builder referenceDataSetName(String referenceDataSetName) {
            return referenceDataSetName(Output.of(referenceDataSetName));
        }

        /**
         * @param resourceGroupName Name of an Azure Resource group.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName Name of an Azure Resource group.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param tags Key-value pairs of additional properties for the resource.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags Key-value pairs of additional properties for the resource.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        public ReferenceDataSetArgs build() {
            if ($.environmentName == null) {
                throw new MissingRequiredPropertyException("ReferenceDataSetArgs", "environmentName");
            }
            if ($.keyProperties == null) {
                throw new MissingRequiredPropertyException("ReferenceDataSetArgs", "keyProperties");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("ReferenceDataSetArgs", "resourceGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy