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

com.pulumi.azure.datafactory.outputs.DatasetSnowflakeSchemaColumn Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.

There is a newer version: 6.10.0-alpha.1731737215
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.azure.datafactory.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class DatasetSnowflakeSchemaColumn {
    /**
     * @return The name of the column.
     * 
     */
    private String name;
    /**
     * @return The total number of digits allowed.
     * 
     */
    private @Nullable Integer precision;
    /**
     * @return The number of digits allowed to the right of the decimal point.
     * 
     */
    private @Nullable Integer scale;
    /**
     * @return Type of the column. Valid values are `NUMBER`, `DECIMAL`, `NUMERIC`, `INT`, `INTEGER`, `BIGINT`, `SMALLINT`, `FLOAT``FLOAT4`, `FLOAT8`, `DOUBLE`, `DOUBLE PRECISION`, `REAL`, `VARCHAR`, `CHAR`, `CHARACTER`, `STRING`, `TEXT`, `BINARY`, `VARBINARY`, `BOOLEAN`, `DATE`, `DATETIME`, `TIME`, `TIMESTAMP`, `TIMESTAMP_LTZ`, `TIMESTAMP_NTZ`, `TIMESTAMP_TZ`, `VARIANT`, `OBJECT`, `ARRAY`, `GEOGRAPHY`. Please note these values are case sensitive.
     * 
     */
    private @Nullable String type;

    private DatasetSnowflakeSchemaColumn() {}
    /**
     * @return The name of the column.
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return The total number of digits allowed.
     * 
     */
    public Optional precision() {
        return Optional.ofNullable(this.precision);
    }
    /**
     * @return The number of digits allowed to the right of the decimal point.
     * 
     */
    public Optional scale() {
        return Optional.ofNullable(this.scale);
    }
    /**
     * @return Type of the column. Valid values are `NUMBER`, `DECIMAL`, `NUMERIC`, `INT`, `INTEGER`, `BIGINT`, `SMALLINT`, `FLOAT``FLOAT4`, `FLOAT8`, `DOUBLE`, `DOUBLE PRECISION`, `REAL`, `VARCHAR`, `CHAR`, `CHARACTER`, `STRING`, `TEXT`, `BINARY`, `VARBINARY`, `BOOLEAN`, `DATE`, `DATETIME`, `TIME`, `TIMESTAMP`, `TIMESTAMP_LTZ`, `TIMESTAMP_NTZ`, `TIMESTAMP_TZ`, `VARIANT`, `OBJECT`, `ARRAY`, `GEOGRAPHY`. Please note these values are case sensitive.
     * 
     */
    public Optional type() {
        return Optional.ofNullable(this.type);
    }

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

    public static Builder builder(DatasetSnowflakeSchemaColumn defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String name;
        private @Nullable Integer precision;
        private @Nullable Integer scale;
        private @Nullable String type;
        public Builder() {}
        public Builder(DatasetSnowflakeSchemaColumn defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.name = defaults.name;
    	      this.precision = defaults.precision;
    	      this.scale = defaults.scale;
    	      this.type = defaults.type;
        }

        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("DatasetSnowflakeSchemaColumn", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder precision(@Nullable Integer precision) {

            this.precision = precision;
            return this;
        }
        @CustomType.Setter
        public Builder scale(@Nullable Integer scale) {

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

            this.type = type;
            return this;
        }
        public DatasetSnowflakeSchemaColumn build() {
            final var _resultValue = new DatasetSnowflakeSchemaColumn();
            _resultValue.name = name;
            _resultValue.precision = precision;
            _resultValue.scale = scale;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy