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

com.pulumi.azurenative.datafactory.inputs.AzureBlobFSLocationArgs 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.datafactory.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.core.internal.Codegen;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Object;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * The location of azure blobFS dataset.
 * 
 */
public final class AzureBlobFSLocationArgs extends com.pulumi.resources.ResourceArgs {

    public static final AzureBlobFSLocationArgs Empty = new AzureBlobFSLocationArgs();

    /**
     * Specify the file name of dataset. Type: string (or Expression with resultType string).
     * 
     */
    @Import(name="fileName")
    private @Nullable Output fileName;

    /**
     * @return Specify the file name of dataset. Type: string (or Expression with resultType string).
     * 
     */
    public Optional> fileName() {
        return Optional.ofNullable(this.fileName);
    }

    /**
     * Specify the fileSystem of azure blobFS. Type: string (or Expression with resultType string).
     * 
     */
    @Import(name="fileSystem")
    private @Nullable Output fileSystem;

    /**
     * @return Specify the fileSystem of azure blobFS. Type: string (or Expression with resultType string).
     * 
     */
    public Optional> fileSystem() {
        return Optional.ofNullable(this.fileSystem);
    }

    /**
     * Specify the folder path of dataset. Type: string (or Expression with resultType string)
     * 
     */
    @Import(name="folderPath")
    private @Nullable Output folderPath;

    /**
     * @return Specify the folder path of dataset. Type: string (or Expression with resultType string)
     * 
     */
    public Optional> folderPath() {
        return Optional.ofNullable(this.folderPath);
    }

    /**
     * Type of dataset storage location.
     * Expected value is 'AzureBlobFSLocation'.
     * 
     */
    @Import(name="type", required=true)
    private Output type;

    /**
     * @return Type of dataset storage location.
     * Expected value is 'AzureBlobFSLocation'.
     * 
     */
    public Output type() {
        return this.type;
    }

    private AzureBlobFSLocationArgs() {}

    private AzureBlobFSLocationArgs(AzureBlobFSLocationArgs $) {
        this.fileName = $.fileName;
        this.fileSystem = $.fileSystem;
        this.folderPath = $.folderPath;
        this.type = $.type;
    }

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

    public static final class Builder {
        private AzureBlobFSLocationArgs $;

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

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

        /**
         * @param fileName Specify the file name of dataset. Type: string (or Expression with resultType string).
         * 
         * @return builder
         * 
         */
        public Builder fileName(@Nullable Output fileName) {
            $.fileName = fileName;
            return this;
        }

        /**
         * @param fileName Specify the file name of dataset. Type: string (or Expression with resultType string).
         * 
         * @return builder
         * 
         */
        public Builder fileName(Object fileName) {
            return fileName(Output.of(fileName));
        }

        /**
         * @param fileSystem Specify the fileSystem of azure blobFS. Type: string (or Expression with resultType string).
         * 
         * @return builder
         * 
         */
        public Builder fileSystem(@Nullable Output fileSystem) {
            $.fileSystem = fileSystem;
            return this;
        }

        /**
         * @param fileSystem Specify the fileSystem of azure blobFS. Type: string (or Expression with resultType string).
         * 
         * @return builder
         * 
         */
        public Builder fileSystem(Object fileSystem) {
            return fileSystem(Output.of(fileSystem));
        }

        /**
         * @param folderPath Specify the folder path of dataset. Type: string (or Expression with resultType string)
         * 
         * @return builder
         * 
         */
        public Builder folderPath(@Nullable Output folderPath) {
            $.folderPath = folderPath;
            return this;
        }

        /**
         * @param folderPath Specify the folder path of dataset. Type: string (or Expression with resultType string)
         * 
         * @return builder
         * 
         */
        public Builder folderPath(Object folderPath) {
            return folderPath(Output.of(folderPath));
        }

        /**
         * @param type Type of dataset storage location.
         * Expected value is 'AzureBlobFSLocation'.
         * 
         * @return builder
         * 
         */
        public Builder type(Output type) {
            $.type = type;
            return this;
        }

        /**
         * @param type Type of dataset storage location.
         * Expected value is 'AzureBlobFSLocation'.
         * 
         * @return builder
         * 
         */
        public Builder type(String type) {
            return type(Output.of(type));
        }

        public AzureBlobFSLocationArgs build() {
            $.type = Codegen.stringProp("type").output().arg($.type).require();
            return $;
        }
    }

}