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

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

Go to download

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

There is a newer version: 6.60.0-alpha.1731982519
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.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 CatalogTableTargetTableArgs extends com.pulumi.resources.ResourceArgs {

    public static final CatalogTableTargetTableArgs Empty = new CatalogTableTargetTableArgs();

    /**
     * ID of the Data Catalog in which the table resides.
     * 
     */
    @Import(name="catalogId", required=true)
    private Output catalogId;

    /**
     * @return ID of the Data Catalog in which the table resides.
     * 
     */
    public Output catalogId() {
        return this.catalogId;
    }

    /**
     * Name of the catalog database that contains the target table.
     * 
     */
    @Import(name="databaseName", required=true)
    private Output databaseName;

    /**
     * @return Name of the catalog database that contains the target table.
     * 
     */
    public Output databaseName() {
        return this.databaseName;
    }

    /**
     * Name of the target table.
     * 
     */
    @Import(name="name", required=true)
    private Output name;

    /**
     * @return Name of the target table.
     * 
     */
    public Output name() {
        return this.name;
    }

    /**
     * Region of the target table.
     * 
     */
    @Import(name="region")
    private @Nullable Output region;

    /**
     * @return Region of the target table.
     * 
     */
    public Optional> region() {
        return Optional.ofNullable(this.region);
    }

    private CatalogTableTargetTableArgs() {}

    private CatalogTableTargetTableArgs(CatalogTableTargetTableArgs $) {
        this.catalogId = $.catalogId;
        this.databaseName = $.databaseName;
        this.name = $.name;
        this.region = $.region;
    }

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

    public static final class Builder {
        private CatalogTableTargetTableArgs $;

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

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

        /**
         * @param catalogId ID of the Data Catalog in which the table resides.
         * 
         * @return builder
         * 
         */
        public Builder catalogId(Output catalogId) {
            $.catalogId = catalogId;
            return this;
        }

        /**
         * @param catalogId ID of the Data Catalog in which the table resides.
         * 
         * @return builder
         * 
         */
        public Builder catalogId(String catalogId) {
            return catalogId(Output.of(catalogId));
        }

        /**
         * @param databaseName Name of the catalog database that contains the target table.
         * 
         * @return builder
         * 
         */
        public Builder databaseName(Output databaseName) {
            $.databaseName = databaseName;
            return this;
        }

        /**
         * @param databaseName Name of the catalog database that contains the target table.
         * 
         * @return builder
         * 
         */
        public Builder databaseName(String databaseName) {
            return databaseName(Output.of(databaseName));
        }

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

        /**
         * @param name Name of the target table.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param region Region of the target table.
         * 
         * @return builder
         * 
         */
        public Builder region(@Nullable Output region) {
            $.region = region;
            return this;
        }

        /**
         * @param region Region of the target table.
         * 
         * @return builder
         * 
         */
        public Builder region(String region) {
            return region(Output.of(region));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy