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

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

import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


public final class GetPermissionsDatabase extends com.pulumi.resources.InvokeArgs {

    public static final GetPermissionsDatabase Empty = new GetPermissionsDatabase();

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

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

    /**
     * Name of the database resource. Unique to the Data Catalog.
     * 
     * The following argument is optional:
     * 
     */
    @Import(name="name", required=true)
    private String name;

    /**
     * @return Name of the database resource. Unique to the Data Catalog.
     * 
     * The following argument is optional:
     * 
     */
    public String name() {
        return this.name;
    }

    private GetPermissionsDatabase() {}

    private GetPermissionsDatabase(GetPermissionsDatabase $) {
        this.catalogId = $.catalogId;
        this.name = $.name;
    }

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

    public static final class Builder {
        private GetPermissionsDatabase $;

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

        public Builder(GetPermissionsDatabase defaults) {
            $ = new GetPermissionsDatabase(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(String catalogId) {
            $.catalogId = catalogId;
            return this;
        }

        /**
         * @param name Name of the database resource. Unique to the Data Catalog.
         * 
         * The following argument is optional:
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            $.name = name;
            return this;
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy