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

com.pulumi.azurenative.databasewatcher.inputs.DatastoreArgs 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.databasewatcher.inputs;

import com.pulumi.azurenative.databasewatcher.enums.KustoOfferingType;
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.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * The properties of a data store.
 * 
 */
public final class DatastoreArgs extends com.pulumi.resources.ResourceArgs {

    public static final DatastoreArgs Empty = new DatastoreArgs();

    /**
     * The Azure ResourceId of an Azure Data Explorer cluster.
     * 
     */
    @Import(name="adxClusterResourceId")
    private @Nullable Output adxClusterResourceId;

    /**
     * @return The Azure ResourceId of an Azure Data Explorer cluster.
     * 
     */
    public Optional> adxClusterResourceId() {
        return Optional.ofNullable(this.adxClusterResourceId);
    }

    /**
     * The Kusto cluster display name.
     * 
     */
    @Import(name="kustoClusterDisplayName")
    private @Nullable Output kustoClusterDisplayName;

    /**
     * @return The Kusto cluster display name.
     * 
     */
    public Optional> kustoClusterDisplayName() {
        return Optional.ofNullable(this.kustoClusterDisplayName);
    }

    /**
     * The Kusto cluster URI.
     * 
     */
    @Import(name="kustoClusterUri", required=true)
    private Output kustoClusterUri;

    /**
     * @return The Kusto cluster URI.
     * 
     */
    public Output kustoClusterUri() {
        return this.kustoClusterUri;
    }

    /**
     * The Kusto data ingestion URI.
     * 
     */
    @Import(name="kustoDataIngestionUri", required=true)
    private Output kustoDataIngestionUri;

    /**
     * @return The Kusto data ingestion URI.
     * 
     */
    public Output kustoDataIngestionUri() {
        return this.kustoDataIngestionUri;
    }

    /**
     * The name of a Kusto database.
     * 
     */
    @Import(name="kustoDatabaseName", required=true)
    private Output kustoDatabaseName;

    /**
     * @return The name of a Kusto database.
     * 
     */
    public Output kustoDatabaseName() {
        return this.kustoDatabaseName;
    }

    /**
     * The Kusto management URL.
     * 
     */
    @Import(name="kustoManagementUrl", required=true)
    private Output kustoManagementUrl;

    /**
     * @return The Kusto management URL.
     * 
     */
    public Output kustoManagementUrl() {
        return this.kustoManagementUrl;
    }

    /**
     * The type of a Kusto offering.
     * 
     */
    @Import(name="kustoOfferingType", required=true)
    private Output> kustoOfferingType;

    /**
     * @return The type of a Kusto offering.
     * 
     */
    public Output> kustoOfferingType() {
        return this.kustoOfferingType;
    }

    private DatastoreArgs() {}

    private DatastoreArgs(DatastoreArgs $) {
        this.adxClusterResourceId = $.adxClusterResourceId;
        this.kustoClusterDisplayName = $.kustoClusterDisplayName;
        this.kustoClusterUri = $.kustoClusterUri;
        this.kustoDataIngestionUri = $.kustoDataIngestionUri;
        this.kustoDatabaseName = $.kustoDatabaseName;
        this.kustoManagementUrl = $.kustoManagementUrl;
        this.kustoOfferingType = $.kustoOfferingType;
    }

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

    public static final class Builder {
        private DatastoreArgs $;

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

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

        /**
         * @param adxClusterResourceId The Azure ResourceId of an Azure Data Explorer cluster.
         * 
         * @return builder
         * 
         */
        public Builder adxClusterResourceId(@Nullable Output adxClusterResourceId) {
            $.adxClusterResourceId = adxClusterResourceId;
            return this;
        }

        /**
         * @param adxClusterResourceId The Azure ResourceId of an Azure Data Explorer cluster.
         * 
         * @return builder
         * 
         */
        public Builder adxClusterResourceId(String adxClusterResourceId) {
            return adxClusterResourceId(Output.of(adxClusterResourceId));
        }

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

        /**
         * @param kustoClusterDisplayName The Kusto cluster display name.
         * 
         * @return builder
         * 
         */
        public Builder kustoClusterDisplayName(String kustoClusterDisplayName) {
            return kustoClusterDisplayName(Output.of(kustoClusterDisplayName));
        }

        /**
         * @param kustoClusterUri The Kusto cluster URI.
         * 
         * @return builder
         * 
         */
        public Builder kustoClusterUri(Output kustoClusterUri) {
            $.kustoClusterUri = kustoClusterUri;
            return this;
        }

        /**
         * @param kustoClusterUri The Kusto cluster URI.
         * 
         * @return builder
         * 
         */
        public Builder kustoClusterUri(String kustoClusterUri) {
            return kustoClusterUri(Output.of(kustoClusterUri));
        }

        /**
         * @param kustoDataIngestionUri The Kusto data ingestion URI.
         * 
         * @return builder
         * 
         */
        public Builder kustoDataIngestionUri(Output kustoDataIngestionUri) {
            $.kustoDataIngestionUri = kustoDataIngestionUri;
            return this;
        }

        /**
         * @param kustoDataIngestionUri The Kusto data ingestion URI.
         * 
         * @return builder
         * 
         */
        public Builder kustoDataIngestionUri(String kustoDataIngestionUri) {
            return kustoDataIngestionUri(Output.of(kustoDataIngestionUri));
        }

        /**
         * @param kustoDatabaseName The name of a Kusto database.
         * 
         * @return builder
         * 
         */
        public Builder kustoDatabaseName(Output kustoDatabaseName) {
            $.kustoDatabaseName = kustoDatabaseName;
            return this;
        }

        /**
         * @param kustoDatabaseName The name of a Kusto database.
         * 
         * @return builder
         * 
         */
        public Builder kustoDatabaseName(String kustoDatabaseName) {
            return kustoDatabaseName(Output.of(kustoDatabaseName));
        }

        /**
         * @param kustoManagementUrl The Kusto management URL.
         * 
         * @return builder
         * 
         */
        public Builder kustoManagementUrl(Output kustoManagementUrl) {
            $.kustoManagementUrl = kustoManagementUrl;
            return this;
        }

        /**
         * @param kustoManagementUrl The Kusto management URL.
         * 
         * @return builder
         * 
         */
        public Builder kustoManagementUrl(String kustoManagementUrl) {
            return kustoManagementUrl(Output.of(kustoManagementUrl));
        }

        /**
         * @param kustoOfferingType The type of a Kusto offering.
         * 
         * @return builder
         * 
         */
        public Builder kustoOfferingType(Output> kustoOfferingType) {
            $.kustoOfferingType = kustoOfferingType;
            return this;
        }

        /**
         * @param kustoOfferingType The type of a Kusto offering.
         * 
         * @return builder
         * 
         */
        public Builder kustoOfferingType(Either kustoOfferingType) {
            return kustoOfferingType(Output.of(kustoOfferingType));
        }

        /**
         * @param kustoOfferingType The type of a Kusto offering.
         * 
         * @return builder
         * 
         */
        public Builder kustoOfferingType(String kustoOfferingType) {
            return kustoOfferingType(Either.ofLeft(kustoOfferingType));
        }

        /**
         * @param kustoOfferingType The type of a Kusto offering.
         * 
         * @return builder
         * 
         */
        public Builder kustoOfferingType(KustoOfferingType kustoOfferingType) {
            return kustoOfferingType(Either.ofRight(kustoOfferingType));
        }

        public DatastoreArgs build() {
            if ($.kustoClusterUri == null) {
                throw new MissingRequiredPropertyException("DatastoreArgs", "kustoClusterUri");
            }
            if ($.kustoDataIngestionUri == null) {
                throw new MissingRequiredPropertyException("DatastoreArgs", "kustoDataIngestionUri");
            }
            if ($.kustoDatabaseName == null) {
                throw new MissingRequiredPropertyException("DatastoreArgs", "kustoDatabaseName");
            }
            if ($.kustoManagementUrl == null) {
                throw new MissingRequiredPropertyException("DatastoreArgs", "kustoManagementUrl");
            }
            if ($.kustoOfferingType == null) {
                throw new MissingRequiredPropertyException("DatastoreArgs", "kustoOfferingType");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy