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

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

There is a newer version: 2.82.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 java.lang.Object;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class PolybaseSettingsResponse {
    /**
     * @return Determines the number of rows to attempt to retrieve before the PolyBase recalculates the percentage of rejected rows. Type: integer (or Expression with resultType integer), minimum: 0.
     * 
     */
    private @Nullable Object rejectSampleValue;
    /**
     * @return Reject type.
     * 
     */
    private @Nullable String rejectType;
    /**
     * @return Specifies the value or the percentage of rows that can be rejected before the query fails. Type: number (or Expression with resultType number), minimum: 0.
     * 
     */
    private @Nullable Object rejectValue;
    /**
     * @return Specifies how to handle missing values in delimited text files when PolyBase retrieves data from the text file. Type: boolean (or Expression with resultType boolean).
     * 
     */
    private @Nullable Object useTypeDefault;

    private PolybaseSettingsResponse() {}
    /**
     * @return Determines the number of rows to attempt to retrieve before the PolyBase recalculates the percentage of rejected rows. Type: integer (or Expression with resultType integer), minimum: 0.
     * 
     */
    public Optional rejectSampleValue() {
        return Optional.ofNullable(this.rejectSampleValue);
    }
    /**
     * @return Reject type.
     * 
     */
    public Optional rejectType() {
        return Optional.ofNullable(this.rejectType);
    }
    /**
     * @return Specifies the value or the percentage of rows that can be rejected before the query fails. Type: number (or Expression with resultType number), minimum: 0.
     * 
     */
    public Optional rejectValue() {
        return Optional.ofNullable(this.rejectValue);
    }
    /**
     * @return Specifies how to handle missing values in delimited text files when PolyBase retrieves data from the text file. Type: boolean (or Expression with resultType boolean).
     * 
     */
    public Optional useTypeDefault() {
        return Optional.ofNullable(this.useTypeDefault);
    }

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

    public static Builder builder(PolybaseSettingsResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Object rejectSampleValue;
        private @Nullable String rejectType;
        private @Nullable Object rejectValue;
        private @Nullable Object useTypeDefault;
        public Builder() {}
        public Builder(PolybaseSettingsResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.rejectSampleValue = defaults.rejectSampleValue;
    	      this.rejectType = defaults.rejectType;
    	      this.rejectValue = defaults.rejectValue;
    	      this.useTypeDefault = defaults.useTypeDefault;
        }

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

            this.rejectSampleValue = rejectSampleValue;
            return this;
        }
        @CustomType.Setter
        public Builder rejectType(@Nullable String rejectType) {

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

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

            this.useTypeDefault = useTypeDefault;
            return this;
        }
        public PolybaseSettingsResponse build() {
            final var _resultValue = new PolybaseSettingsResponse();
            _resultValue.rejectSampleValue = rejectSampleValue;
            _resultValue.rejectType = rejectType;
            _resultValue.rejectValue = rejectValue;
            _resultValue.useTypeDefault = useTypeDefault;
            return _resultValue;
        }
    }
}