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

com.pulumi.azurenative.datafactory.inputs.TeradataPartitionSettingsArgs Maven / Gradle / Ivy

The 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 teradata source partitioning.
 * 
 */
public final class TeradataPartitionSettingsArgs extends com.pulumi.resources.ResourceArgs {

    public static final TeradataPartitionSettingsArgs Empty = new TeradataPartitionSettingsArgs();

    /**
     * The name of the column that will be used for proceeding range or hash 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 or hash 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 TeradataPartitionSettingsArgs() {}

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

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

    public static final class Builder {
        private TeradataPartitionSettingsArgs $;

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

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

        /**
         * @param partitionColumnName The name of the column that will be used for proceeding range or hash 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 or hash 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 TeradataPartitionSettingsArgs build() {
            return $;
        }
    }

}