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

com.pulumi.aws.lakeformation.inputs.GetPermissionsDataLocation Maven / Gradle / Ivy

// *** 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 GetPermissionsDataLocation extends com.pulumi.resources.InvokeArgs {

    public static final GetPermissionsDataLocation Empty = new GetPermissionsDataLocation();

    /**
     * ARN that uniquely identifies the data location resource.
     * 
     * The following argument is optional:
     * 
     */
    @Import(name="arn", required=true)
    private String arn;

    /**
     * @return ARN that uniquely identifies the data location resource.
     * 
     * The following argument is optional:
     * 
     */
    public String arn() {
        return this.arn;
    }

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

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

    private GetPermissionsDataLocation() {}

    private GetPermissionsDataLocation(GetPermissionsDataLocation $) {
        this.arn = $.arn;
        this.catalogId = $.catalogId;
    }

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

    public static final class Builder {
        private GetPermissionsDataLocation $;

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

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

        /**
         * @param arn ARN that uniquely identifies the data location resource.
         * 
         * The following argument is optional:
         * 
         * @return builder
         * 
         */
        public Builder arn(String arn) {
            $.arn = arn;
            return this;
        }

        /**
         * @param catalogId Identifier for the Data Catalog where the location is registered with Lake Formation. By default, it is the account ID of the caller.
         * 
         * @return builder
         * 
         */
        public Builder catalogId(String catalogId) {
            $.catalogId = catalogId;
            return this;
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy