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

com.pulumi.googlenative.dataplex.v1.outputs.GoogleCloudDataplexV1AssetDiscoverySpecCsvOptionsResponse Maven / Gradle / Ivy

// *** 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.googlenative.dataplex.v1.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class GoogleCloudDataplexV1AssetDiscoverySpecCsvOptionsResponse {
    /**
     * @return Optional. The delimiter being used to separate values. This defaults to ','.
     * 
     */
    private String delimiter;
    /**
     * @return Optional. Whether to disable the inference of data type for CSV data. If true, all columns will be registered as strings.
     * 
     */
    private Boolean disableTypeInference;
    /**
     * @return Optional. The character encoding of the data. The default is UTF-8.
     * 
     */
    private String encoding;
    /**
     * @return Optional. The number of rows to interpret as header rows that should be skipped when reading data rows.
     * 
     */
    private Integer headerRows;

    private GoogleCloudDataplexV1AssetDiscoverySpecCsvOptionsResponse() {}
    /**
     * @return Optional. The delimiter being used to separate values. This defaults to ','.
     * 
     */
    public String delimiter() {
        return this.delimiter;
    }
    /**
     * @return Optional. Whether to disable the inference of data type for CSV data. If true, all columns will be registered as strings.
     * 
     */
    public Boolean disableTypeInference() {
        return this.disableTypeInference;
    }
    /**
     * @return Optional. The character encoding of the data. The default is UTF-8.
     * 
     */
    public String encoding() {
        return this.encoding;
    }
    /**
     * @return Optional. The number of rows to interpret as header rows that should be skipped when reading data rows.
     * 
     */
    public Integer headerRows() {
        return this.headerRows;
    }

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

    public static Builder builder(GoogleCloudDataplexV1AssetDiscoverySpecCsvOptionsResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String delimiter;
        private Boolean disableTypeInference;
        private String encoding;
        private Integer headerRows;
        public Builder() {}
        public Builder(GoogleCloudDataplexV1AssetDiscoverySpecCsvOptionsResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.delimiter = defaults.delimiter;
    	      this.disableTypeInference = defaults.disableTypeInference;
    	      this.encoding = defaults.encoding;
    	      this.headerRows = defaults.headerRows;
        }

        @CustomType.Setter
        public Builder delimiter(String delimiter) {
            this.delimiter = Objects.requireNonNull(delimiter);
            return this;
        }
        @CustomType.Setter
        public Builder disableTypeInference(Boolean disableTypeInference) {
            this.disableTypeInference = Objects.requireNonNull(disableTypeInference);
            return this;
        }
        @CustomType.Setter
        public Builder encoding(String encoding) {
            this.encoding = Objects.requireNonNull(encoding);
            return this;
        }
        @CustomType.Setter
        public Builder headerRows(Integer headerRows) {
            this.headerRows = Objects.requireNonNull(headerRows);
            return this;
        }
        public GoogleCloudDataplexV1AssetDiscoverySpecCsvOptionsResponse build() {
            final var o = new GoogleCloudDataplexV1AssetDiscoverySpecCsvOptionsResponse();
            o.delimiter = delimiter;
            o.disableTypeInference = disableTypeInference;
            o.encoding = encoding;
            o.headerRows = headerRows;
            return o;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy