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

com.pulumi.azurenative.iotoperations.inputs.DataFlowEndpointFabricOneLakeArgs Maven / Gradle / Ivy

There is a newer version: 2.72.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.DataFlowEndpointFabricPathType;
import com.pulumi.azurenative.iotoperations.inputs.BatchingConfigurationArgs;
import com.pulumi.azurenative.iotoperations.inputs.DataFlowEndpointFabricOneLakeNamesArgs;
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;


/**
 * Microsoft Fabric endpoint properties
 * 
 */
public final class DataFlowEndpointFabricOneLakeArgs extends com.pulumi.resources.ResourceArgs {

    public static final DataFlowEndpointFabricOneLakeArgs Empty = new DataFlowEndpointFabricOneLakeArgs();

    /**
     * Batching configuration.
     * 
     */
    @Import(name="batching")
    private @Nullable Output batching;

    /**
     * @return Batching configuration.
     * 
     */
    public Optional> batching() {
        return Optional.ofNullable(this.batching);
    }

    /**
     * Host of the Microsoft Fabric in the form of https://<host>.fabric.microsoft.com.
     * 
     */
    @Import(name="host", required=true)
    private Output host;

    /**
     * @return Host of the Microsoft Fabric in the form of https://<host>.fabric.microsoft.com.
     * 
     */
    public Output host() {
        return this.host;
    }

    /**
     * Names of the workspace and lakehouse.
     * 
     */
    @Import(name="names", required=true)
    private Output names;

    /**
     * @return Names of the workspace and lakehouse.
     * 
     */
    public Output names() {
        return this.names;
    }

    /**
     * Type of location of the data in the workspace. Can be either tables or files.
     * 
     */
    @Import(name="oneLakePathType", required=true)
    private Output> oneLakePathType;

    /**
     * @return Type of location of the data in the workspace. Can be either tables or files.
     * 
     */
    public Output> oneLakePathType() {
        return this.oneLakePathType;
    }

    private DataFlowEndpointFabricOneLakeArgs() {}

    private DataFlowEndpointFabricOneLakeArgs(DataFlowEndpointFabricOneLakeArgs $) {
        this.batching = $.batching;
        this.host = $.host;
        this.names = $.names;
        this.oneLakePathType = $.oneLakePathType;
    }

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

    public static final class Builder {
        private DataFlowEndpointFabricOneLakeArgs $;

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

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

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

        /**
         * @param batching Batching configuration.
         * 
         * @return builder
         * 
         */
        public Builder batching(BatchingConfigurationArgs batching) {
            return batching(Output.of(batching));
        }

        /**
         * @param host Host of the Microsoft Fabric in the form of https://<host>.fabric.microsoft.com.
         * 
         * @return builder
         * 
         */
        public Builder host(Output host) {
            $.host = host;
            return this;
        }

        /**
         * @param host Host of the Microsoft Fabric in the form of https://<host>.fabric.microsoft.com.
         * 
         * @return builder
         * 
         */
        public Builder host(String host) {
            return host(Output.of(host));
        }

        /**
         * @param names Names of the workspace and lakehouse.
         * 
         * @return builder
         * 
         */
        public Builder names(Output names) {
            $.names = names;
            return this;
        }

        /**
         * @param names Names of the workspace and lakehouse.
         * 
         * @return builder
         * 
         */
        public Builder names(DataFlowEndpointFabricOneLakeNamesArgs names) {
            return names(Output.of(names));
        }

        /**
         * @param oneLakePathType Type of location of the data in the workspace. Can be either tables or files.
         * 
         * @return builder
         * 
         */
        public Builder oneLakePathType(Output> oneLakePathType) {
            $.oneLakePathType = oneLakePathType;
            return this;
        }

        /**
         * @param oneLakePathType Type of location of the data in the workspace. Can be either tables or files.
         * 
         * @return builder
         * 
         */
        public Builder oneLakePathType(Either oneLakePathType) {
            return oneLakePathType(Output.of(oneLakePathType));
        }

        /**
         * @param oneLakePathType Type of location of the data in the workspace. Can be either tables or files.
         * 
         * @return builder
         * 
         */
        public Builder oneLakePathType(String oneLakePathType) {
            return oneLakePathType(Either.ofLeft(oneLakePathType));
        }

        /**
         * @param oneLakePathType Type of location of the data in the workspace. Can be either tables or files.
         * 
         * @return builder
         * 
         */
        public Builder oneLakePathType(DataFlowEndpointFabricPathType oneLakePathType) {
            return oneLakePathType(Either.ofRight(oneLakePathType));
        }

        public DataFlowEndpointFabricOneLakeArgs build() {
            if ($.host == null) {
                throw new MissingRequiredPropertyException("DataFlowEndpointFabricOneLakeArgs", "host");
            }
            if ($.names == null) {
                throw new MissingRequiredPropertyException("DataFlowEndpointFabricOneLakeArgs", "names");
            }
            if ($.oneLakePathType == null) {
                throw new MissingRequiredPropertyException("DataFlowEndpointFabricOneLakeArgs", "oneLakePathType");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy