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

com.pulumi.azurenative.datafactory.outputs.AmazonS3CompatibleLocationResponse Maven / Gradle / Ivy

The 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.outputs;

import com.pulumi.core.annotations.CustomType;
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;

@CustomType
public final class AmazonS3CompatibleLocationResponse {
    /**
     * @return Specify the bucketName of Amazon S3 Compatible. Type: string (or Expression with resultType string)
     * 
     */
    private @Nullable Object bucketName;
    /**
     * @return Specify the file name of dataset. Type: string (or Expression with resultType string).
     * 
     */
    private @Nullable Object fileName;
    /**
     * @return Specify the folder path of dataset. Type: string (or Expression with resultType string)
     * 
     */
    private @Nullable Object folderPath;
    /**
     * @return Type of dataset storage location.
     * Expected value is 'AmazonS3CompatibleLocation'.
     * 
     */
    private String type;
    /**
     * @return Specify the version of Amazon S3 Compatible. Type: string (or Expression with resultType string).
     * 
     */
    private @Nullable Object version;

    private AmazonS3CompatibleLocationResponse() {}
    /**
     * @return Specify the bucketName of Amazon S3 Compatible. Type: string (or Expression with resultType string)
     * 
     */
    public Optional bucketName() {
        return Optional.ofNullable(this.bucketName);
    }
    /**
     * @return Specify the file name of dataset. Type: string (or Expression with resultType string).
     * 
     */
    public Optional fileName() {
        return Optional.ofNullable(this.fileName);
    }
    /**
     * @return Specify the folder path of dataset. Type: string (or Expression with resultType string)
     * 
     */
    public Optional folderPath() {
        return Optional.ofNullable(this.folderPath);
    }
    /**
     * @return Type of dataset storage location.
     * Expected value is 'AmazonS3CompatibleLocation'.
     * 
     */
    public String type() {
        return this.type;
    }
    /**
     * @return Specify the version of Amazon S3 Compatible. Type: string (or Expression with resultType string).
     * 
     */
    public Optional version() {
        return Optional.ofNullable(this.version);
    }

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

    public static Builder builder(AmazonS3CompatibleLocationResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Object bucketName;
        private @Nullable Object fileName;
        private @Nullable Object folderPath;
        private String type;
        private @Nullable Object version;
        public Builder() {}
        public Builder(AmazonS3CompatibleLocationResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.bucketName = defaults.bucketName;
    	      this.fileName = defaults.fileName;
    	      this.folderPath = defaults.folderPath;
    	      this.type = defaults.type;
    	      this.version = defaults.version;
        }

        @CustomType.Setter
        public Builder bucketName(@Nullable Object bucketName) {

            this.bucketName = bucketName;
            return this;
        }
        @CustomType.Setter
        public Builder fileName(@Nullable Object fileName) {

            this.fileName = fileName;
            return this;
        }
        @CustomType.Setter
        public Builder folderPath(@Nullable Object folderPath) {

            this.folderPath = folderPath;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("AmazonS3CompatibleLocationResponse", "type");
            }
            this.type = type;
            return this;
        }
        @CustomType.Setter
        public Builder version(@Nullable Object version) {

            this.version = version;
            return this;
        }
        public AmazonS3CompatibleLocationResponse build() {
            final var _resultValue = new AmazonS3CompatibleLocationResponse();
            _resultValue.bucketName = bucketName;
            _resultValue.fileName = fileName;
            _resultValue.folderPath = folderPath;
            _resultValue.type = type;
            _resultValue.version = version;
            return _resultValue;
        }
    }
}