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

com.pulumi.azurenative.datafactory.outputs.SqlPartitionSettingsResponse 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.core.annotations.CustomType;
import java.lang.Object;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class SqlPartitionSettingsResponse {
    /**
     * @return The name of the column in integer or datetime type that will be used for proceeding partitioning. If not specified, the primary key of the table is auto-detected and used as the partition column. Type: string (or Expression with resultType string).
     * 
     */
    private @Nullable Object partitionColumnName;
    /**
     * @return The minimum value of the partition column for partition range splitting. This value is used to decide the partition stride, not for filtering the rows in table. All rows in the table or query result will be partitioned and copied. Type: string (or Expression with resultType string).
     * 
     */
    private @Nullable Object partitionLowerBound;
    /**
     * @return The maximum value of the partition column for partition range splitting. This value is used to decide the partition stride, not for filtering the rows in table. All rows in the table or query result will be partitioned and copied. Type: string (or Expression with resultType string).
     * 
     */
    private @Nullable Object partitionUpperBound;

    private SqlPartitionSettingsResponse() {}
    /**
     * @return The name of the column in integer or datetime type that will be used for proceeding partitioning. If not specified, the primary key of the table is auto-detected and used as the partition column. Type: string (or Expression with resultType string).
     * 
     */
    public Optional partitionColumnName() {
        return Optional.ofNullable(this.partitionColumnName);
    }
    /**
     * @return The minimum value of the partition column for partition range splitting. This value is used to decide the partition stride, not for filtering the rows in table. All rows in the table or query result will be partitioned and copied. Type: string (or Expression with resultType string).
     * 
     */
    public Optional partitionLowerBound() {
        return Optional.ofNullable(this.partitionLowerBound);
    }
    /**
     * @return The maximum value of the partition column for partition range splitting. This value is used to decide the partition stride, not for filtering the rows in table. All rows in the table or query result will be partitioned and copied. Type: string (or Expression with resultType string).
     * 
     */
    public Optional partitionUpperBound() {
        return Optional.ofNullable(this.partitionUpperBound);
    }

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

    public static Builder builder(SqlPartitionSettingsResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Object partitionColumnName;
        private @Nullable Object partitionLowerBound;
        private @Nullable Object partitionUpperBound;
        public Builder() {}
        public Builder(SqlPartitionSettingsResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.partitionColumnName = defaults.partitionColumnName;
    	      this.partitionLowerBound = defaults.partitionLowerBound;
    	      this.partitionUpperBound = defaults.partitionUpperBound;
        }

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

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

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

            this.partitionUpperBound = partitionUpperBound;
            return this;
        }
        public SqlPartitionSettingsResponse build() {
            final var _resultValue = new SqlPartitionSettingsResponse();
            _resultValue.partitionColumnName = partitionColumnName;
            _resultValue.partitionLowerBound = partitionLowerBound;
            _resultValue.partitionUpperBound = partitionUpperBound;
            return _resultValue;
        }
    }
}