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

com.pulumi.azurenative.datafactory.outputs.AmazonS3CompatibleReadSettingsResponse 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.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 AmazonS3CompatibleReadSettingsResponse {
    /**
     * @return Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean).
     * 
     */
    private @Nullable Object deleteFilesAfterCompletion;
    /**
     * @return If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean).
     * 
     */
    private @Nullable Object disableMetricsCollection;
    /**
     * @return Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean).
     * 
     */
    private @Nullable Object enablePartitionDiscovery;
    /**
     * @return Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string).
     * 
     */
    private @Nullable Object fileListPath;
    /**
     * @return The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
     * 
     */
    private @Nullable Object maxConcurrentConnections;
    /**
     * @return The end of file's modified datetime. Type: string (or Expression with resultType string).
     * 
     */
    private @Nullable Object modifiedDatetimeEnd;
    /**
     * @return The start of file's modified datetime. Type: string (or Expression with resultType string).
     * 
     */
    private @Nullable Object modifiedDatetimeStart;
    /**
     * @return Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string).
     * 
     */
    private @Nullable Object partitionRootPath;
    /**
     * @return The prefix filter for the S3 Compatible object name. Type: string (or Expression with resultType string).
     * 
     */
    private @Nullable Object prefix;
    /**
     * @return If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean).
     * 
     */
    private @Nullable Object recursive;
    /**
     * @return The read setting type.
     * Expected value is 'AmazonS3CompatibleReadSettings'.
     * 
     */
    private String type;
    /**
     * @return Amazon S3 Compatible wildcardFileName. Type: string (or Expression with resultType string).
     * 
     */
    private @Nullable Object wildcardFileName;
    /**
     * @return Amazon S3 Compatible wildcardFolderPath. Type: string (or Expression with resultType string).
     * 
     */
    private @Nullable Object wildcardFolderPath;

    private AmazonS3CompatibleReadSettingsResponse() {}
    /**
     * @return Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean).
     * 
     */
    public Optional deleteFilesAfterCompletion() {
        return Optional.ofNullable(this.deleteFilesAfterCompletion);
    }
    /**
     * @return If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean).
     * 
     */
    public Optional disableMetricsCollection() {
        return Optional.ofNullable(this.disableMetricsCollection);
    }
    /**
     * @return Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean).
     * 
     */
    public Optional enablePartitionDiscovery() {
        return Optional.ofNullable(this.enablePartitionDiscovery);
    }
    /**
     * @return Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string).
     * 
     */
    public Optional fileListPath() {
        return Optional.ofNullable(this.fileListPath);
    }
    /**
     * @return The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
     * 
     */
    public Optional maxConcurrentConnections() {
        return Optional.ofNullable(this.maxConcurrentConnections);
    }
    /**
     * @return The end of file's modified datetime. Type: string (or Expression with resultType string).
     * 
     */
    public Optional modifiedDatetimeEnd() {
        return Optional.ofNullable(this.modifiedDatetimeEnd);
    }
    /**
     * @return The start of file's modified datetime. Type: string (or Expression with resultType string).
     * 
     */
    public Optional modifiedDatetimeStart() {
        return Optional.ofNullable(this.modifiedDatetimeStart);
    }
    /**
     * @return Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string).
     * 
     */
    public Optional partitionRootPath() {
        return Optional.ofNullable(this.partitionRootPath);
    }
    /**
     * @return The prefix filter for the S3 Compatible object name. Type: string (or Expression with resultType string).
     * 
     */
    public Optional prefix() {
        return Optional.ofNullable(this.prefix);
    }
    /**
     * @return If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean).
     * 
     */
    public Optional recursive() {
        return Optional.ofNullable(this.recursive);
    }
    /**
     * @return The read setting type.
     * Expected value is 'AmazonS3CompatibleReadSettings'.
     * 
     */
    public String type() {
        return this.type;
    }
    /**
     * @return Amazon S3 Compatible wildcardFileName. Type: string (or Expression with resultType string).
     * 
     */
    public Optional wildcardFileName() {
        return Optional.ofNullable(this.wildcardFileName);
    }
    /**
     * @return Amazon S3 Compatible wildcardFolderPath. Type: string (or Expression with resultType string).
     * 
     */
    public Optional wildcardFolderPath() {
        return Optional.ofNullable(this.wildcardFolderPath);
    }

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

    public static Builder builder(AmazonS3CompatibleReadSettingsResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Object deleteFilesAfterCompletion;
        private @Nullable Object disableMetricsCollection;
        private @Nullable Object enablePartitionDiscovery;
        private @Nullable Object fileListPath;
        private @Nullable Object maxConcurrentConnections;
        private @Nullable Object modifiedDatetimeEnd;
        private @Nullable Object modifiedDatetimeStart;
        private @Nullable Object partitionRootPath;
        private @Nullable Object prefix;
        private @Nullable Object recursive;
        private String type;
        private @Nullable Object wildcardFileName;
        private @Nullable Object wildcardFolderPath;
        public Builder() {}
        public Builder(AmazonS3CompatibleReadSettingsResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.deleteFilesAfterCompletion = defaults.deleteFilesAfterCompletion;
    	      this.disableMetricsCollection = defaults.disableMetricsCollection;
    	      this.enablePartitionDiscovery = defaults.enablePartitionDiscovery;
    	      this.fileListPath = defaults.fileListPath;
    	      this.maxConcurrentConnections = defaults.maxConcurrentConnections;
    	      this.modifiedDatetimeEnd = defaults.modifiedDatetimeEnd;
    	      this.modifiedDatetimeStart = defaults.modifiedDatetimeStart;
    	      this.partitionRootPath = defaults.partitionRootPath;
    	      this.prefix = defaults.prefix;
    	      this.recursive = defaults.recursive;
    	      this.type = defaults.type;
    	      this.wildcardFileName = defaults.wildcardFileName;
    	      this.wildcardFolderPath = defaults.wildcardFolderPath;
        }

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

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

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

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

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

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

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

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

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

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

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

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

            this.wildcardFolderPath = wildcardFolderPath;
            return this;
        }
        public AmazonS3CompatibleReadSettingsResponse build() {
            final var _resultValue = new AmazonS3CompatibleReadSettingsResponse();
            _resultValue.deleteFilesAfterCompletion = deleteFilesAfterCompletion;
            _resultValue.disableMetricsCollection = disableMetricsCollection;
            _resultValue.enablePartitionDiscovery = enablePartitionDiscovery;
            _resultValue.fileListPath = fileListPath;
            _resultValue.maxConcurrentConnections = maxConcurrentConnections;
            _resultValue.modifiedDatetimeEnd = modifiedDatetimeEnd;
            _resultValue.modifiedDatetimeStart = modifiedDatetimeStart;
            _resultValue.partitionRootPath = partitionRootPath;
            _resultValue.prefix = prefix;
            _resultValue.recursive = recursive;
            _resultValue.type = type;
            _resultValue.wildcardFileName = wildcardFileName;
            _resultValue.wildcardFolderPath = wildcardFolderPath;
            return _resultValue;
        }
    }
}