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

com.pulumi.aws.lakeformation.inputs.PermissionsTableWithColumnsArgs 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.lakeformation.inputs;

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


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

    public static final PermissionsTableWithColumnsArgs Empty = new PermissionsTableWithColumnsArgs();

    /**
     * Identifier for the Data Catalog. By default, it is the account ID of the caller.
     * 
     */
    @Import(name="catalogId")
    private @Nullable Output catalogId;

    /**
     * @return Identifier for the Data Catalog. By default, it is the account ID of the caller.
     * 
     */
    public Optional> catalogId() {
        return Optional.ofNullable(this.catalogId);
    }

    /**
     * Set of column names for the table.
     * 
     */
    @Import(name="columnNames")
    private @Nullable Output> columnNames;

    /**
     * @return Set of column names for the table.
     * 
     */
    public Optional>> columnNames() {
        return Optional.ofNullable(this.columnNames);
    }

    /**
     * Name of the database for the table with columns resource. Unique to the Data Catalog.
     * 
     */
    @Import(name="databaseName", required=true)
    private Output databaseName;

    /**
     * @return Name of the database for the table with columns resource. Unique to the Data Catalog.
     * 
     */
    public Output databaseName() {
        return this.databaseName;
    }

    /**
     * Set of column names for the table to exclude. If `excluded_column_names` is included, `wildcard` must be set to `true` to avoid the provider reporting a difference.
     * 
     */
    @Import(name="excludedColumnNames")
    private @Nullable Output> excludedColumnNames;

    /**
     * @return Set of column names for the table to exclude. If `excluded_column_names` is included, `wildcard` must be set to `true` to avoid the provider reporting a difference.
     * 
     */
    public Optional>> excludedColumnNames() {
        return Optional.ofNullable(this.excludedColumnNames);
    }

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

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

    /**
     * Whether to use a column wildcard. If `excluded_column_names` is included, `wildcard` must be set to `true` to avoid the provider reporting a difference.
     * 
     * The following arguments are optional:
     * 
     */
    @Import(name="wildcard")
    private @Nullable Output wildcard;

    /**
     * @return Whether to use a column wildcard. If `excluded_column_names` is included, `wildcard` must be set to `true` to avoid the provider reporting a difference.
     * 
     * The following arguments are optional:
     * 
     */
    public Optional> wildcard() {
        return Optional.ofNullable(this.wildcard);
    }

    private PermissionsTableWithColumnsArgs() {}

    private PermissionsTableWithColumnsArgs(PermissionsTableWithColumnsArgs $) {
        this.catalogId = $.catalogId;
        this.columnNames = $.columnNames;
        this.databaseName = $.databaseName;
        this.excludedColumnNames = $.excludedColumnNames;
        this.name = $.name;
        this.wildcard = $.wildcard;
    }

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

    public static final class Builder {
        private PermissionsTableWithColumnsArgs $;

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

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

        /**
         * @param catalogId Identifier for the Data Catalog. By default, it is the account ID of the caller.
         * 
         * @return builder
         * 
         */
        public Builder catalogId(@Nullable Output catalogId) {
            $.catalogId = catalogId;
            return this;
        }

        /**
         * @param catalogId Identifier for the Data Catalog. By default, it is the account ID of the caller.
         * 
         * @return builder
         * 
         */
        public Builder catalogId(String catalogId) {
            return catalogId(Output.of(catalogId));
        }

        /**
         * @param columnNames Set of column names for the table.
         * 
         * @return builder
         * 
         */
        public Builder columnNames(@Nullable Output> columnNames) {
            $.columnNames = columnNames;
            return this;
        }

        /**
         * @param columnNames Set of column names for the table.
         * 
         * @return builder
         * 
         */
        public Builder columnNames(List columnNames) {
            return columnNames(Output.of(columnNames));
        }

        /**
         * @param columnNames Set of column names for the table.
         * 
         * @return builder
         * 
         */
        public Builder columnNames(String... columnNames) {
            return columnNames(List.of(columnNames));
        }

        /**
         * @param databaseName Name of the database for the table with columns resource. Unique to the Data Catalog.
         * 
         * @return builder
         * 
         */
        public Builder databaseName(Output databaseName) {
            $.databaseName = databaseName;
            return this;
        }

        /**
         * @param databaseName Name of the database for the table with columns resource. Unique to the Data Catalog.
         * 
         * @return builder
         * 
         */
        public Builder databaseName(String databaseName) {
            return databaseName(Output.of(databaseName));
        }

        /**
         * @param excludedColumnNames Set of column names for the table to exclude. If `excluded_column_names` is included, `wildcard` must be set to `true` to avoid the provider reporting a difference.
         * 
         * @return builder
         * 
         */
        public Builder excludedColumnNames(@Nullable Output> excludedColumnNames) {
            $.excludedColumnNames = excludedColumnNames;
            return this;
        }

        /**
         * @param excludedColumnNames Set of column names for the table to exclude. If `excluded_column_names` is included, `wildcard` must be set to `true` to avoid the provider reporting a difference.
         * 
         * @return builder
         * 
         */
        public Builder excludedColumnNames(List excludedColumnNames) {
            return excludedColumnNames(Output.of(excludedColumnNames));
        }

        /**
         * @param excludedColumnNames Set of column names for the table to exclude. If `excluded_column_names` is included, `wildcard` must be set to `true` to avoid the provider reporting a difference.
         * 
         * @return builder
         * 
         */
        public Builder excludedColumnNames(String... excludedColumnNames) {
            return excludedColumnNames(List.of(excludedColumnNames));
        }

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

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

        /**
         * @param wildcard Whether to use a column wildcard. If `excluded_column_names` is included, `wildcard` must be set to `true` to avoid the provider reporting a difference.
         * 
         * The following arguments are optional:
         * 
         * @return builder
         * 
         */
        public Builder wildcard(@Nullable Output wildcard) {
            $.wildcard = wildcard;
            return this;
        }

        /**
         * @param wildcard Whether to use a column wildcard. If `excluded_column_names` is included, `wildcard` must be set to `true` to avoid the provider reporting a difference.
         * 
         * The following arguments are optional:
         * 
         * @return builder
         * 
         */
        public Builder wildcard(Boolean wildcard) {
            return wildcard(Output.of(wildcard));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy