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

com.pulumi.azurenative.datafactory.outputs.BlobSourceResponse 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 BlobSourceResponse {
    /**
     * @return If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean).
     * 
     */
    private @Nullable Object disableMetricsCollection;
    /**
     * @return The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
     * 
     */
    private @Nullable Object maxConcurrentConnections;
    /**
     * @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 Number of header lines to skip from each blob. Type: integer (or Expression with resultType integer).
     * 
     */
    private @Nullable Object skipHeaderLineCount;
    /**
     * @return Source retry count. Type: integer (or Expression with resultType integer).
     * 
     */
    private @Nullable Object sourceRetryCount;
    /**
     * @return Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
     * 
     */
    private @Nullable Object sourceRetryWait;
    /**
     * @return Treat empty as null. Type: boolean (or Expression with resultType boolean).
     * 
     */
    private @Nullable Object treatEmptyAsNull;
    /**
     * @return Copy source type.
     * Expected value is 'BlobSource'.
     * 
     */
    private String type;

    private BlobSourceResponse() {}
    /**
     * @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 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 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 Number of header lines to skip from each blob. Type: integer (or Expression with resultType integer).
     * 
     */
    public Optional skipHeaderLineCount() {
        return Optional.ofNullable(this.skipHeaderLineCount);
    }
    /**
     * @return Source retry count. Type: integer (or Expression with resultType integer).
     * 
     */
    public Optional sourceRetryCount() {
        return Optional.ofNullable(this.sourceRetryCount);
    }
    /**
     * @return Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
     * 
     */
    public Optional sourceRetryWait() {
        return Optional.ofNullable(this.sourceRetryWait);
    }
    /**
     * @return Treat empty as null. Type: boolean (or Expression with resultType boolean).
     * 
     */
    public Optional treatEmptyAsNull() {
        return Optional.ofNullable(this.treatEmptyAsNull);
    }
    /**
     * @return Copy source type.
     * Expected value is 'BlobSource'.
     * 
     */
    public String type() {
        return this.type;
    }

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

    public static Builder builder(BlobSourceResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Object disableMetricsCollection;
        private @Nullable Object maxConcurrentConnections;
        private @Nullable Object recursive;
        private @Nullable Object skipHeaderLineCount;
        private @Nullable Object sourceRetryCount;
        private @Nullable Object sourceRetryWait;
        private @Nullable Object treatEmptyAsNull;
        private String type;
        public Builder() {}
        public Builder(BlobSourceResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.disableMetricsCollection = defaults.disableMetricsCollection;
    	      this.maxConcurrentConnections = defaults.maxConcurrentConnections;
    	      this.recursive = defaults.recursive;
    	      this.skipHeaderLineCount = defaults.skipHeaderLineCount;
    	      this.sourceRetryCount = defaults.sourceRetryCount;
    	      this.sourceRetryWait = defaults.sourceRetryWait;
    	      this.treatEmptyAsNull = defaults.treatEmptyAsNull;
    	      this.type = defaults.type;
        }

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

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

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

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

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

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

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

            this.treatEmptyAsNull = treatEmptyAsNull;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("BlobSourceResponse", "type");
            }
            this.type = type;
            return this;
        }
        public BlobSourceResponse build() {
            final var _resultValue = new BlobSourceResponse();
            _resultValue.disableMetricsCollection = disableMetricsCollection;
            _resultValue.maxConcurrentConnections = maxConcurrentConnections;
            _resultValue.recursive = recursive;
            _resultValue.skipHeaderLineCount = skipHeaderLineCount;
            _resultValue.sourceRetryCount = sourceRetryCount;
            _resultValue.sourceRetryWait = sourceRetryWait;
            _resultValue.treatEmptyAsNull = treatEmptyAsNull;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}