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

com.pulumi.azurenative.iotoperations.inputs.DataFlowEndpointPropertiesArgs 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.enums.EndpointType;
import com.pulumi.azurenative.iotoperations.inputs.DataFlowEndpointAuthenticationArgs;
import com.pulumi.azurenative.iotoperations.inputs.DataFlowEndpointDataExplorerArgs;
import com.pulumi.azurenative.iotoperations.inputs.DataFlowEndpointDataLakeStorageArgs;
import com.pulumi.azurenative.iotoperations.inputs.DataFlowEndpointFabricOneLakeArgs;
import com.pulumi.azurenative.iotoperations.inputs.DataFlowEndpointKafkaArgs;
import com.pulumi.azurenative.iotoperations.inputs.DataFlowEndpointLocalStorageArgs;
import com.pulumi.azurenative.iotoperations.inputs.DataFlowEndpointMqttArgs;
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;


/**
 * DataFlowEndpoint Resource properties. NOTE - Only one type of endpoint is supported for one Resource
 * 
 */
public final class DataFlowEndpointPropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final DataFlowEndpointPropertiesArgs Empty = new DataFlowEndpointPropertiesArgs();

    /**
     * Authentication configuration.
     * 
     */
    @Import(name="authentication", required=true)
    private Output authentication;

    /**
     * @return Authentication configuration.
     * 
     */
    public Output authentication() {
        return this.authentication;
    }

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

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

    /**
     * Azure Data Lake endpoint.
     * 
     */
    @Import(name="dataLakeStorageSettings")
    private @Nullable Output dataLakeStorageSettings;

    /**
     * @return Azure Data Lake endpoint.
     * 
     */
    public Optional> dataLakeStorageSettings() {
        return Optional.ofNullable(this.dataLakeStorageSettings);
    }

    /**
     * Endpoint Type.
     * 
     */
    @Import(name="endpointType", required=true)
    private Output> endpointType;

    /**
     * @return Endpoint Type.
     * 
     */
    public Output> endpointType() {
        return this.endpointType;
    }

    /**
     * Microsoft Fabric endpoint.
     * 
     */
    @Import(name="fabricOneLakeSettings")
    private @Nullable Output fabricOneLakeSettings;

    /**
     * @return Microsoft Fabric endpoint.
     * 
     */
    public Optional> fabricOneLakeSettings() {
        return Optional.ofNullable(this.fabricOneLakeSettings);
    }

    /**
     * Kafka endpoint.
     * 
     */
    @Import(name="kafkaSettings")
    private @Nullable Output kafkaSettings;

    /**
     * @return Kafka endpoint.
     * 
     */
    public Optional> kafkaSettings() {
        return Optional.ofNullable(this.kafkaSettings);
    }

    /**
     * Local persistent volume endpoint.
     * 
     */
    @Import(name="localStorageSettings")
    private @Nullable Output localStorageSettings;

    /**
     * @return Local persistent volume endpoint.
     * 
     */
    public Optional> localStorageSettings() {
        return Optional.ofNullable(this.localStorageSettings);
    }

    /**
     * Broker endpoint.
     * 
     */
    @Import(name="mqttSettings")
    private @Nullable Output mqttSettings;

    /**
     * @return Broker endpoint.
     * 
     */
    public Optional> mqttSettings() {
        return Optional.ofNullable(this.mqttSettings);
    }

    private DataFlowEndpointPropertiesArgs() {}

    private DataFlowEndpointPropertiesArgs(DataFlowEndpointPropertiesArgs $) {
        this.authentication = $.authentication;
        this.dataExplorerSettings = $.dataExplorerSettings;
        this.dataLakeStorageSettings = $.dataLakeStorageSettings;
        this.endpointType = $.endpointType;
        this.fabricOneLakeSettings = $.fabricOneLakeSettings;
        this.kafkaSettings = $.kafkaSettings;
        this.localStorageSettings = $.localStorageSettings;
        this.mqttSettings = $.mqttSettings;
    }

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

    public static final class Builder {
        private DataFlowEndpointPropertiesArgs $;

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

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

        /**
         * @param authentication Authentication configuration.
         * 
         * @return builder
         * 
         */
        public Builder authentication(Output authentication) {
            $.authentication = authentication;
            return this;
        }

        /**
         * @param authentication Authentication configuration.
         * 
         * @return builder
         * 
         */
        public Builder authentication(DataFlowEndpointAuthenticationArgs authentication) {
            return authentication(Output.of(authentication));
        }

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

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

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

        /**
         * @param dataLakeStorageSettings Azure Data Lake endpoint.
         * 
         * @return builder
         * 
         */
        public Builder dataLakeStorageSettings(DataFlowEndpointDataLakeStorageArgs dataLakeStorageSettings) {
            return dataLakeStorageSettings(Output.of(dataLakeStorageSettings));
        }

        /**
         * @param endpointType Endpoint Type.
         * 
         * @return builder
         * 
         */
        public Builder endpointType(Output> endpointType) {
            $.endpointType = endpointType;
            return this;
        }

        /**
         * @param endpointType Endpoint Type.
         * 
         * @return builder
         * 
         */
        public Builder endpointType(Either endpointType) {
            return endpointType(Output.of(endpointType));
        }

        /**
         * @param endpointType Endpoint Type.
         * 
         * @return builder
         * 
         */
        public Builder endpointType(String endpointType) {
            return endpointType(Either.ofLeft(endpointType));
        }

        /**
         * @param endpointType Endpoint Type.
         * 
         * @return builder
         * 
         */
        public Builder endpointType(EndpointType endpointType) {
            return endpointType(Either.ofRight(endpointType));
        }

        /**
         * @param fabricOneLakeSettings Microsoft Fabric endpoint.
         * 
         * @return builder
         * 
         */
        public Builder fabricOneLakeSettings(@Nullable Output fabricOneLakeSettings) {
            $.fabricOneLakeSettings = fabricOneLakeSettings;
            return this;
        }

        /**
         * @param fabricOneLakeSettings Microsoft Fabric endpoint.
         * 
         * @return builder
         * 
         */
        public Builder fabricOneLakeSettings(DataFlowEndpointFabricOneLakeArgs fabricOneLakeSettings) {
            return fabricOneLakeSettings(Output.of(fabricOneLakeSettings));
        }

        /**
         * @param kafkaSettings Kafka endpoint.
         * 
         * @return builder
         * 
         */
        public Builder kafkaSettings(@Nullable Output kafkaSettings) {
            $.kafkaSettings = kafkaSettings;
            return this;
        }

        /**
         * @param kafkaSettings Kafka endpoint.
         * 
         * @return builder
         * 
         */
        public Builder kafkaSettings(DataFlowEndpointKafkaArgs kafkaSettings) {
            return kafkaSettings(Output.of(kafkaSettings));
        }

        /**
         * @param localStorageSettings Local persistent volume endpoint.
         * 
         * @return builder
         * 
         */
        public Builder localStorageSettings(@Nullable Output localStorageSettings) {
            $.localStorageSettings = localStorageSettings;
            return this;
        }

        /**
         * @param localStorageSettings Local persistent volume endpoint.
         * 
         * @return builder
         * 
         */
        public Builder localStorageSettings(DataFlowEndpointLocalStorageArgs localStorageSettings) {
            return localStorageSettings(Output.of(localStorageSettings));
        }

        /**
         * @param mqttSettings Broker endpoint.
         * 
         * @return builder
         * 
         */
        public Builder mqttSettings(@Nullable Output mqttSettings) {
            $.mqttSettings = mqttSettings;
            return this;
        }

        /**
         * @param mqttSettings Broker endpoint.
         * 
         * @return builder
         * 
         */
        public Builder mqttSettings(DataFlowEndpointMqttArgs mqttSettings) {
            return mqttSettings(Output.of(mqttSettings));
        }

        public DataFlowEndpointPropertiesArgs build() {
            if ($.authentication == null) {
                throw new MissingRequiredPropertyException("DataFlowEndpointPropertiesArgs", "authentication");
            }
            if ($.endpointType == null) {
                throw new MissingRequiredPropertyException("DataFlowEndpointPropertiesArgs", "endpointType");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy