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

com.pulumi.azurenative.datafactory.outputs.SapTableSourceResponse 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.SapTablePartitionSettingsResponse;
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 SapTableSourceResponse {
    /**
     * @return Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects).
     * 
     */
    private @Nullable Object additionalColumns;
    /**
     * @return Specifies the maximum number of rows that will be retrieved at a time when retrieving data from SAP Table. Type: integer (or Expression with resultType integer).
     * 
     */
    private @Nullable Object batchSize;
    /**
     * @return Specifies the custom RFC function module that will be used to read data from SAP Table. Type: string (or Expression with resultType string).
     * 
     */
    private @Nullable Object customRfcReadTableFunctionModule;
    /**
     * @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 The partition mechanism that will be used for SAP table read in parallel. Possible values include: "None", "PartitionOnInt", "PartitionOnCalendarYear", "PartitionOnCalendarMonth", "PartitionOnCalendarDate", "PartitionOnTime".
     * 
     */
    private @Nullable Object partitionOption;
    /**
     * @return The settings that will be leveraged for SAP table source partitioning.
     * 
     */
    private @Nullable SapTablePartitionSettingsResponse partitionSettings;
    /**
     * @return Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
     * 
     */
    private @Nullable Object queryTimeout;
    /**
     * @return The fields of the SAP table that will be retrieved. For example, column0, column1. Type: string (or Expression with resultType string).
     * 
     */
    private @Nullable Object rfcTableFields;
    /**
     * @return The options for the filtering of the SAP Table. For example, COLUMN0 EQ SOME VALUE. Type: string (or Expression with resultType string).
     * 
     */
    private @Nullable Object rfcTableOptions;
    /**
     * @return The number of rows to be retrieved. Type: integer(or Expression with resultType integer).
     * 
     */
    private @Nullable Object rowCount;
    /**
     * @return The number of rows that will be skipped. Type: integer (or Expression with resultType integer).
     * 
     */
    private @Nullable Object rowSkips;
    /**
     * @return The single character that will be used as delimiter passed to SAP RFC as well as splitting the output data retrieved. Type: string (or Expression with resultType string).
     * 
     */
    private @Nullable Object sapDataColumnDelimiter;
    /**
     * @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 Copy source type.
     * Expected value is 'SapTableSource'.
     * 
     */
    private String type;

    private SapTableSourceResponse() {}
    /**
     * @return Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects).
     * 
     */
    public Optional additionalColumns() {
        return Optional.ofNullable(this.additionalColumns);
    }
    /**
     * @return Specifies the maximum number of rows that will be retrieved at a time when retrieving data from SAP Table. Type: integer (or Expression with resultType integer).
     * 
     */
    public Optional batchSize() {
        return Optional.ofNullable(this.batchSize);
    }
    /**
     * @return Specifies the custom RFC function module that will be used to read data from SAP Table. Type: string (or Expression with resultType string).
     * 
     */
    public Optional customRfcReadTableFunctionModule() {
        return Optional.ofNullable(this.customRfcReadTableFunctionModule);
    }
    /**
     * @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 The partition mechanism that will be used for SAP table read in parallel. Possible values include: "None", "PartitionOnInt", "PartitionOnCalendarYear", "PartitionOnCalendarMonth", "PartitionOnCalendarDate", "PartitionOnTime".
     * 
     */
    public Optional partitionOption() {
        return Optional.ofNullable(this.partitionOption);
    }
    /**
     * @return The settings that will be leveraged for SAP table source partitioning.
     * 
     */
    public Optional partitionSettings() {
        return Optional.ofNullable(this.partitionSettings);
    }
    /**
     * @return Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
     * 
     */
    public Optional queryTimeout() {
        return Optional.ofNullable(this.queryTimeout);
    }
    /**
     * @return The fields of the SAP table that will be retrieved. For example, column0, column1. Type: string (or Expression with resultType string).
     * 
     */
    public Optional rfcTableFields() {
        return Optional.ofNullable(this.rfcTableFields);
    }
    /**
     * @return The options for the filtering of the SAP Table. For example, COLUMN0 EQ SOME VALUE. Type: string (or Expression with resultType string).
     * 
     */
    public Optional rfcTableOptions() {
        return Optional.ofNullable(this.rfcTableOptions);
    }
    /**
     * @return The number of rows to be retrieved. Type: integer(or Expression with resultType integer).
     * 
     */
    public Optional rowCount() {
        return Optional.ofNullable(this.rowCount);
    }
    /**
     * @return The number of rows that will be skipped. Type: integer (or Expression with resultType integer).
     * 
     */
    public Optional rowSkips() {
        return Optional.ofNullable(this.rowSkips);
    }
    /**
     * @return The single character that will be used as delimiter passed to SAP RFC as well as splitting the output data retrieved. Type: string (or Expression with resultType string).
     * 
     */
    public Optional sapDataColumnDelimiter() {
        return Optional.ofNullable(this.sapDataColumnDelimiter);
    }
    /**
     * @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 Copy source type.
     * Expected value is 'SapTableSource'.
     * 
     */
    public String type() {
        return this.type;
    }

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

    public static Builder builder(SapTableSourceResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Object additionalColumns;
        private @Nullable Object batchSize;
        private @Nullable Object customRfcReadTableFunctionModule;
        private @Nullable Object disableMetricsCollection;
        private @Nullable Object maxConcurrentConnections;
        private @Nullable Object partitionOption;
        private @Nullable SapTablePartitionSettingsResponse partitionSettings;
        private @Nullable Object queryTimeout;
        private @Nullable Object rfcTableFields;
        private @Nullable Object rfcTableOptions;
        private @Nullable Object rowCount;
        private @Nullable Object rowSkips;
        private @Nullable Object sapDataColumnDelimiter;
        private @Nullable Object sourceRetryCount;
        private @Nullable Object sourceRetryWait;
        private String type;
        public Builder() {}
        public Builder(SapTableSourceResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.additionalColumns = defaults.additionalColumns;
    	      this.batchSize = defaults.batchSize;
    	      this.customRfcReadTableFunctionModule = defaults.customRfcReadTableFunctionModule;
    	      this.disableMetricsCollection = defaults.disableMetricsCollection;
    	      this.maxConcurrentConnections = defaults.maxConcurrentConnections;
    	      this.partitionOption = defaults.partitionOption;
    	      this.partitionSettings = defaults.partitionSettings;
    	      this.queryTimeout = defaults.queryTimeout;
    	      this.rfcTableFields = defaults.rfcTableFields;
    	      this.rfcTableOptions = defaults.rfcTableOptions;
    	      this.rowCount = defaults.rowCount;
    	      this.rowSkips = defaults.rowSkips;
    	      this.sapDataColumnDelimiter = defaults.sapDataColumnDelimiter;
    	      this.sourceRetryCount = defaults.sourceRetryCount;
    	      this.sourceRetryWait = defaults.sourceRetryWait;
    	      this.type = defaults.type;
        }

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

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

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

            this.customRfcReadTableFunctionModule = customRfcReadTableFunctionModule;
            return this;
        }
        @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 partitionOption(@Nullable Object partitionOption) {

            this.partitionOption = partitionOption;
            return this;
        }
        @CustomType.Setter
        public Builder partitionSettings(@Nullable SapTablePartitionSettingsResponse partitionSettings) {

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

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

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

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

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

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

            this.sapDataColumnDelimiter = sapDataColumnDelimiter;
            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 type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("SapTableSourceResponse", "type");
            }
            this.type = type;
            return this;
        }
        public SapTableSourceResponse build() {
            final var _resultValue = new SapTableSourceResponse();
            _resultValue.additionalColumns = additionalColumns;
            _resultValue.batchSize = batchSize;
            _resultValue.customRfcReadTableFunctionModule = customRfcReadTableFunctionModule;
            _resultValue.disableMetricsCollection = disableMetricsCollection;
            _resultValue.maxConcurrentConnections = maxConcurrentConnections;
            _resultValue.partitionOption = partitionOption;
            _resultValue.partitionSettings = partitionSettings;
            _resultValue.queryTimeout = queryTimeout;
            _resultValue.rfcTableFields = rfcTableFields;
            _resultValue.rfcTableOptions = rfcTableOptions;
            _resultValue.rowCount = rowCount;
            _resultValue.rowSkips = rowSkips;
            _resultValue.sapDataColumnDelimiter = sapDataColumnDelimiter;
            _resultValue.sourceRetryCount = sourceRetryCount;
            _resultValue.sourceRetryWait = sourceRetryWait;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}