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

com.pulumi.azurenative.iotoperations.inputs.DataFlowEndpointDataExplorerArgs 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.iotoperations.inputs;

import com.pulumi.azurenative.iotoperations.inputs.BatchingConfigurationArgs;
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;


/**
 * Azure Data Explorer endpoint properties
 * 
 */
public final class DataFlowEndpointDataExplorerArgs extends com.pulumi.resources.ResourceArgs {

    public static final DataFlowEndpointDataExplorerArgs Empty = new DataFlowEndpointDataExplorerArgs();

    /**
     * Azure Data Explorer endpoint batching configuration.
     * 
     */
    @Import(name="batching")
    private @Nullable Output batching;

    /**
     * @return Azure Data Explorer endpoint batching configuration.
     * 
     */
    public Optional> batching() {
        return Optional.ofNullable(this.batching);
    }

    /**
     * Database name.
     * 
     */
    @Import(name="database", required=true)
    private Output database;

    /**
     * @return Database name.
     * 
     */
    public Output database() {
        return this.database;
    }

    /**
     * Host of the Azure Data Explorer in the form of <cluster>.<region>.kusto.windows.net .
     * 
     */
    @Import(name="host", required=true)
    private Output host;

    /**
     * @return Host of the Azure Data Explorer in the form of <cluster>.<region>.kusto.windows.net .
     * 
     */
    public Output host() {
        return this.host;
    }

    private DataFlowEndpointDataExplorerArgs() {}

    private DataFlowEndpointDataExplorerArgs(DataFlowEndpointDataExplorerArgs $) {
        this.batching = $.batching;
        this.database = $.database;
        this.host = $.host;
    }

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

    public static final class Builder {
        private DataFlowEndpointDataExplorerArgs $;

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

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

        /**
         * @param batching Azure Data Explorer endpoint batching configuration.
         * 
         * @return builder
         * 
         */
        public Builder batching(@Nullable Output batching) {
            $.batching = batching;
            return this;
        }

        /**
         * @param batching Azure Data Explorer endpoint batching configuration.
         * 
         * @return builder
         * 
         */
        public Builder batching(BatchingConfigurationArgs batching) {
            return batching(Output.of(batching));
        }

        /**
         * @param database Database name.
         * 
         * @return builder
         * 
         */
        public Builder database(Output database) {
            $.database = database;
            return this;
        }

        /**
         * @param database Database name.
         * 
         * @return builder
         * 
         */
        public Builder database(String database) {
            return database(Output.of(database));
        }

        /**
         * @param host Host of the Azure Data Explorer in the form of <cluster>.<region>.kusto.windows.net .
         * 
         * @return builder
         * 
         */
        public Builder host(Output host) {
            $.host = host;
            return this;
        }

        /**
         * @param host Host of the Azure Data Explorer in the form of <cluster>.<region>.kusto.windows.net .
         * 
         * @return builder
         * 
         */
        public Builder host(String host) {
            return host(Output.of(host));
        }

        public DataFlowEndpointDataExplorerArgs build() {
            if ($.database == null) {
                throw new MissingRequiredPropertyException("DataFlowEndpointDataExplorerArgs", "database");
            }
            if ($.host == null) {
                throw new MissingRequiredPropertyException("DataFlowEndpointDataExplorerArgs", "host");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy