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

com.pulumi.azure.datafactory.inputs.DatasetPostgresqlSchemaColumnArgs 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.inputs;

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


public final class DatasetPostgresqlSchemaColumnArgs extends com.pulumi.resources.ResourceArgs {

    public static final DatasetPostgresqlSchemaColumnArgs Empty = new DatasetPostgresqlSchemaColumnArgs();

    /**
     * The description of the column.
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return The description of the column.
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * The name of the column.
     * 
     */
    @Import(name="name", required=true)
    private Output name;

    /**
     * @return The name of the column.
     * 
     */
    public Output name() {
        return this.name;
    }

    /**
     * Type of the column. Valid values are `Byte`, `Byte[]`, `Boolean`, `Date`, `DateTime`,`DateTimeOffset`, `Decimal`, `Double`, `Guid`, `Int16`, `Int32`, `Int64`, `Single`, `String`, `TimeSpan`. Please note these values are case sensitive.
     * 
     */
    @Import(name="type")
    private @Nullable Output type;

    /**
     * @return Type of the column. Valid values are `Byte`, `Byte[]`, `Boolean`, `Date`, `DateTime`,`DateTimeOffset`, `Decimal`, `Double`, `Guid`, `Int16`, `Int32`, `Int64`, `Single`, `String`, `TimeSpan`. Please note these values are case sensitive.
     * 
     */
    public Optional> type() {
        return Optional.ofNullable(this.type);
    }

    private DatasetPostgresqlSchemaColumnArgs() {}

    private DatasetPostgresqlSchemaColumnArgs(DatasetPostgresqlSchemaColumnArgs $) {
        this.description = $.description;
        this.name = $.name;
        this.type = $.type;
    }

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

    public static final class Builder {
        private DatasetPostgresqlSchemaColumnArgs $;

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

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

        /**
         * @param description The description of the column.
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description The description of the column.
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param name The name of the column.
         * 
         * @return builder
         * 
         */
        public Builder name(Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name of the column.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param type Type of the column. Valid values are `Byte`, `Byte[]`, `Boolean`, `Date`, `DateTime`,`DateTimeOffset`, `Decimal`, `Double`, `Guid`, `Int16`, `Int32`, `Int64`, `Single`, `String`, `TimeSpan`. Please note these values are case sensitive.
         * 
         * @return builder
         * 
         */
        public Builder type(@Nullable Output type) {
            $.type = type;
            return this;
        }

        /**
         * @param type Type of the column. Valid values are `Byte`, `Byte[]`, `Boolean`, `Date`, `DateTime`,`DateTimeOffset`, `Decimal`, `Double`, `Guid`, `Int16`, `Int32`, `Int64`, `Single`, `String`, `TimeSpan`. Please note these values are case sensitive.
         * 
         * @return builder
         * 
         */
        public Builder type(String type) {
            return type(Output.of(type));
        }

        public DatasetPostgresqlSchemaColumnArgs build() {
            if ($.name == null) {
                throw new MissingRequiredPropertyException("DatasetPostgresqlSchemaColumnArgs", "name");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy