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

com.pulumi.azurenative.datafactory.inputs.AmazonS3CompatibleLocationArgs 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 Amazon S3 Compatible dataset.
 * 
 */
public final class AmazonS3CompatibleLocationArgs extends com.pulumi.resources.ResourceArgs {

    public static final AmazonS3CompatibleLocationArgs Empty = new AmazonS3CompatibleLocationArgs();

    /**
     * Specify the bucketName of Amazon S3 Compatible. Type: string (or Expression with resultType string)
     * 
     */
    @Import(name="bucketName")
    private @Nullable Output bucketName;

    /**
     * @return Specify the bucketName of Amazon S3 Compatible. Type: string (or Expression with resultType string)
     * 
     */
    public Optional> bucketName() {
        return Optional.ofNullable(this.bucketName);
    }

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

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

    /**
     * Specify the version of Amazon S3 Compatible. Type: string (or Expression with resultType string).
     * 
     */
    @Import(name="version")
    private @Nullable Output version;

    /**
     * @return Specify the version of Amazon S3 Compatible. Type: string (or Expression with resultType string).
     * 
     */
    public Optional> version() {
        return Optional.ofNullable(this.version);
    }

    private AmazonS3CompatibleLocationArgs() {}

    private AmazonS3CompatibleLocationArgs(AmazonS3CompatibleLocationArgs $) {
        this.bucketName = $.bucketName;
        this.fileName = $.fileName;
        this.folderPath = $.folderPath;
        this.type = $.type;
        this.version = $.version;
    }

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

    public static final class Builder {
        private AmazonS3CompatibleLocationArgs $;

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

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

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

        /**
         * @param bucketName Specify the bucketName of Amazon S3 Compatible. Type: string (or Expression with resultType string)
         * 
         * @return builder
         * 
         */
        public Builder bucketName(Object bucketName) {
            return bucketName(Output.of(bucketName));
        }

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

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

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

        /**
         * @param version Specify the version of Amazon S3 Compatible. Type: string (or Expression with resultType string).
         * 
         * @return builder
         * 
         */
        public Builder version(Object version) {
            return version(Output.of(version));
        }

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

}