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

com.pulumi.azurenative.datafactory.inputs.SapTablePartitionSettingsArgs 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.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Object;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * The settings that will be leveraged for SAP table source partitioning.
 * 
 */
public final class SapTablePartitionSettingsArgs extends com.pulumi.resources.ResourceArgs {

    public static final SapTablePartitionSettingsArgs Empty = new SapTablePartitionSettingsArgs();

    /**
     * The maximum value of partitions the table will be split into. Type: integer (or Expression with resultType string).
     * 
     */
    @Import(name="maxPartitionsNumber")
    private @Nullable Output maxPartitionsNumber;

    /**
     * @return The maximum value of partitions the table will be split into. Type: integer (or Expression with resultType string).
     * 
     */
    public Optional> maxPartitionsNumber() {
        return Optional.ofNullable(this.maxPartitionsNumber);
    }

    /**
     * The name of the column that will be used for proceeding range partitioning. Type: string (or Expression with resultType string).
     * 
     */
    @Import(name="partitionColumnName")
    private @Nullable Output partitionColumnName;

    /**
     * @return The name of the column that will be used for proceeding range partitioning. Type: string (or Expression with resultType string).
     * 
     */
    public Optional> partitionColumnName() {
        return Optional.ofNullable(this.partitionColumnName);
    }

    /**
     * The minimum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string).
     * 
     */
    @Import(name="partitionLowerBound")
    private @Nullable Output partitionLowerBound;

    /**
     * @return The minimum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string).
     * 
     */
    public Optional> partitionLowerBound() {
        return Optional.ofNullable(this.partitionLowerBound);
    }

    /**
     * The maximum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string).
     * 
     */
    @Import(name="partitionUpperBound")
    private @Nullable Output partitionUpperBound;

    /**
     * @return The maximum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string).
     * 
     */
    public Optional> partitionUpperBound() {
        return Optional.ofNullable(this.partitionUpperBound);
    }

    private SapTablePartitionSettingsArgs() {}

    private SapTablePartitionSettingsArgs(SapTablePartitionSettingsArgs $) {
        this.maxPartitionsNumber = $.maxPartitionsNumber;
        this.partitionColumnName = $.partitionColumnName;
        this.partitionLowerBound = $.partitionLowerBound;
        this.partitionUpperBound = $.partitionUpperBound;
    }

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

    public static final class Builder {
        private SapTablePartitionSettingsArgs $;

        public Builder() {
            $ = new SapTablePartitionSettingsArgs();
        }

        public Builder(SapTablePartitionSettingsArgs defaults) {
            $ = new SapTablePartitionSettingsArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param maxPartitionsNumber The maximum value of partitions the table will be split into. Type: integer (or Expression with resultType string).
         * 
         * @return builder
         * 
         */
        public Builder maxPartitionsNumber(@Nullable Output maxPartitionsNumber) {
            $.maxPartitionsNumber = maxPartitionsNumber;
            return this;
        }

        /**
         * @param maxPartitionsNumber The maximum value of partitions the table will be split into. Type: integer (or Expression with resultType string).
         * 
         * @return builder
         * 
         */
        public Builder maxPartitionsNumber(Object maxPartitionsNumber) {
            return maxPartitionsNumber(Output.of(maxPartitionsNumber));
        }

        /**
         * @param partitionColumnName The name of the column that will be used for proceeding range partitioning. Type: string (or Expression with resultType string).
         * 
         * @return builder
         * 
         */
        public Builder partitionColumnName(@Nullable Output partitionColumnName) {
            $.partitionColumnName = partitionColumnName;
            return this;
        }

        /**
         * @param partitionColumnName The name of the column that will be used for proceeding range partitioning. Type: string (or Expression with resultType string).
         * 
         * @return builder
         * 
         */
        public Builder partitionColumnName(Object partitionColumnName) {
            return partitionColumnName(Output.of(partitionColumnName));
        }

        /**
         * @param partitionLowerBound The minimum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string).
         * 
         * @return builder
         * 
         */
        public Builder partitionLowerBound(@Nullable Output partitionLowerBound) {
            $.partitionLowerBound = partitionLowerBound;
            return this;
        }

        /**
         * @param partitionLowerBound The minimum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string).
         * 
         * @return builder
         * 
         */
        public Builder partitionLowerBound(Object partitionLowerBound) {
            return partitionLowerBound(Output.of(partitionLowerBound));
        }

        /**
         * @param partitionUpperBound The maximum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string).
         * 
         * @return builder
         * 
         */
        public Builder partitionUpperBound(@Nullable Output partitionUpperBound) {
            $.partitionUpperBound = partitionUpperBound;
            return this;
        }

        /**
         * @param partitionUpperBound The maximum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string).
         * 
         * @return builder
         * 
         */
        public Builder partitionUpperBound(Object partitionUpperBound) {
            return partitionUpperBound(Output.of(partitionUpperBound));
        }

        public SapTablePartitionSettingsArgs build() {
            return $;
        }
    }

}