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

com.pulumi.azurenative.datafactory.outputs.DelimitedTextReadSettingsResponse 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.azurenative.datafactory.outputs.TarGZipReadSettingsResponse;
import com.pulumi.azurenative.datafactory.outputs.TarReadSettingsResponse;
import com.pulumi.azurenative.datafactory.outputs.ZipDeflateReadSettingsResponse;
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 DelimitedTextReadSettingsResponse {
    /**
     * @return Compression settings.
     * 
     */
    private @Nullable Object compressionProperties;
    /**
     * @return Indicates the number of non-empty rows to skip when reading data from input files. Type: integer (or Expression with resultType integer).
     * 
     */
    private @Nullable Object skipLineCount;
    /**
     * @return The read setting type.
     * Expected value is 'DelimitedTextReadSettings'.
     * 
     */
    private String type;

    private DelimitedTextReadSettingsResponse() {}
    /**
     * @return Compression settings.
     * 
     */
    public Optional compressionProperties() {
        return Optional.ofNullable(this.compressionProperties);
    }
    /**
     * @return Indicates the number of non-empty rows to skip when reading data from input files. Type: integer (or Expression with resultType integer).
     * 
     */
    public Optional skipLineCount() {
        return Optional.ofNullable(this.skipLineCount);
    }
    /**
     * @return The read setting type.
     * Expected value is 'DelimitedTextReadSettings'.
     * 
     */
    public String type() {
        return this.type;
    }

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

    public static Builder builder(DelimitedTextReadSettingsResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Object compressionProperties;
        private @Nullable Object skipLineCount;
        private String type;
        public Builder() {}
        public Builder(DelimitedTextReadSettingsResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.compressionProperties = defaults.compressionProperties;
    	      this.skipLineCount = defaults.skipLineCount;
    	      this.type = defaults.type;
        }

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

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

            this.skipLineCount = skipLineCount;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("DelimitedTextReadSettingsResponse", "type");
            }
            this.type = type;
            return this;
        }
        public DelimitedTextReadSettingsResponse build() {
            final var _resultValue = new DelimitedTextReadSettingsResponse();
            _resultValue.compressionProperties = compressionProperties;
            _resultValue.skipLineCount = skipLineCount;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}