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

com.pulumi.azurenative.datafactory.inputs.FtpServerLocationArgs Maven / Gradle / Ivy

There is a newer version: 2.78.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 ftp server dataset.
 * 
 */
public final class FtpServerLocationArgs extends com.pulumi.resources.ResourceArgs {

    public static final FtpServerLocationArgs Empty = new FtpServerLocationArgs();

    /**
     * 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 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 'FtpServerLocation'.
     * 
     */
    @Import(name="type", required=true)
    private Output type;

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

    private FtpServerLocationArgs() {}

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

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

    public static final class Builder {
        private FtpServerLocationArgs $;

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

        public Builder(FtpServerLocationArgs defaults) {
            $ = new FtpServerLocationArgs(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 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 'FtpServerLocation'.
         * 
         * @return builder
         * 
         */
        public Builder type(Output type) {
            $.type = type;
            return this;
        }

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

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

}