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

com.pulumi.aws.glue.inputs.PartitionStorageDescriptorColumnArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

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.aws.glue.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 PartitionStorageDescriptorColumnArgs extends com.pulumi.resources.ResourceArgs {

    public static final PartitionStorageDescriptorColumnArgs Empty = new PartitionStorageDescriptorColumnArgs();

    /**
     * Free-form text comment.
     * 
     */
    @Import(name="comment")
    private @Nullable Output comment;

    /**
     * @return Free-form text comment.
     * 
     */
    public Optional> comment() {
        return Optional.ofNullable(this.comment);
    }

    @Import(name="name", required=true)
    private Output name;

    public Output name() {
        return this.name;
    }

    /**
     * The datatype of data in the Column.
     * 
     */
    @Import(name="type")
    private @Nullable Output type;

    /**
     * @return The datatype of data in the Column.
     * 
     */
    public Optional> type() {
        return Optional.ofNullable(this.type);
    }

    private PartitionStorageDescriptorColumnArgs() {}

    private PartitionStorageDescriptorColumnArgs(PartitionStorageDescriptorColumnArgs $) {
        this.comment = $.comment;
        this.name = $.name;
        this.type = $.type;
    }

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

    public static final class Builder {
        private PartitionStorageDescriptorColumnArgs $;

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

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

        /**
         * @param comment Free-form text comment.
         * 
         * @return builder
         * 
         */
        public Builder comment(@Nullable Output comment) {
            $.comment = comment;
            return this;
        }

        /**
         * @param comment Free-form text comment.
         * 
         * @return builder
         * 
         */
        public Builder comment(String comment) {
            return comment(Output.of(comment));
        }

        public Builder name(Output name) {
            $.name = name;
            return this;
        }

        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param type The datatype of data in the Column.
         * 
         * @return builder
         * 
         */
        public Builder type(@Nullable Output type) {
            $.type = type;
            return this;
        }

        /**
         * @param type The datatype of data in the Column.
         * 
         * @return builder
         * 
         */
        public Builder type(String type) {
            return type(Output.of(type));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy