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

com.pulumi.aws.lakeformation.kotlin.inputs.PermissionsTableArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.lakeformation.kotlin.inputs

import com.pulumi.aws.lakeformation.inputs.PermissionsTableArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property catalogId Identifier for the Data Catalog. By default, it is the account ID of the caller.
 * @property databaseName Name of the database for the table. Unique to a Data Catalog.
 * @property name Name of the table.
 * @property wildcard Whether to use a wildcard representing every table under a database. Defaults to `false`.
 * The following arguments are optional:
 */
public data class PermissionsTableArgs(
    public val catalogId: Output? = null,
    public val databaseName: Output,
    public val name: Output? = null,
    public val wildcard: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.lakeformation.inputs.PermissionsTableArgs =
        com.pulumi.aws.lakeformation.inputs.PermissionsTableArgs.builder()
            .catalogId(catalogId?.applyValue({ args0 -> args0 }))
            .databaseName(databaseName.applyValue({ args0 -> args0 }))
            .name(name?.applyValue({ args0 -> args0 }))
            .wildcard(wildcard?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [PermissionsTableArgs].
 */
@PulumiTagMarker
public class PermissionsTableArgsBuilder internal constructor() {
    private var catalogId: Output? = null

    private var databaseName: Output? = null

    private var name: Output? = null

    private var wildcard: Output? = null

    /**
     * @param value Identifier for the Data Catalog. By default, it is the account ID of the caller.
     */
    @JvmName("kjejqvugmylefaow")
    public suspend fun catalogId(`value`: Output) {
        this.catalogId = value
    }

    /**
     * @param value Name of the database for the table. Unique to a Data Catalog.
     */
    @JvmName("hsrxjfmbtvmrrrbp")
    public suspend fun databaseName(`value`: Output) {
        this.databaseName = value
    }

    /**
     * @param value Name of the table.
     */
    @JvmName("jdixewhhwrsryjdj")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value Whether to use a wildcard representing every table under a database. Defaults to `false`.
     * The following arguments are optional:
     */
    @JvmName("wefelhkltjcqsqmr")
    public suspend fun wildcard(`value`: Output) {
        this.wildcard = value
    }

    /**
     * @param value Identifier for the Data Catalog. By default, it is the account ID of the caller.
     */
    @JvmName("mnbdpefcmcaomvxp")
    public suspend fun catalogId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.catalogId = mapped
    }

    /**
     * @param value Name of the database for the table. Unique to a Data Catalog.
     */
    @JvmName("xvsvcxshxlvgsecy")
    public suspend fun databaseName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.databaseName = mapped
    }

    /**
     * @param value Name of the table.
     */
    @JvmName("xtawnwpeocfmsboa")
    public suspend fun name(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value Whether to use a wildcard representing every table under a database. Defaults to `false`.
     * The following arguments are optional:
     */
    @JvmName("fjqloxtxfderjesl")
    public suspend fun wildcard(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.wildcard = mapped
    }

    internal fun build(): PermissionsTableArgs = PermissionsTableArgs(
        catalogId = catalogId,
        databaseName = databaseName ?: throw PulumiNullFieldException("databaseName"),
        name = name,
        wildcard = wildcard,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy