
com.pulumi.awsnative.lakeformation.kotlin.inputs.PrincipalPermissionsTableWithColumnsResourceArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.lakeformation.kotlin.inputs
import com.pulumi.awsnative.lakeformation.inputs.PrincipalPermissionsTableWithColumnsResourceArgs.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 com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* A structure for a table with columns object. This object is only used when granting a SELECT permission.
* This object must take a value for at least one of ``ColumnsNames``, ``ColumnsIndexes``, or ``ColumnsWildcard``.
* @property catalogId The identifier for the GLUDC where the location is registered with LFlong.
* @property columnNames The list of column names for the table. At least one of ``ColumnNames`` or ``ColumnWildcard`` is required.
* @property columnWildcard A wildcard specified by a ``ColumnWildcard`` object. At least one of ``ColumnNames`` or ``ColumnWildcard`` is required.
* @property databaseName The name of the database for the table with columns resource. Unique to the Data Catalog. A database is a set of associated table definitions organized into a logical group. You can Grant and Revoke database privileges to a principal.
* @property name The name of the table resource. A table is a metadata definition that represents your data. You can Grant and Revoke table privileges to a principal.
*/
public data class PrincipalPermissionsTableWithColumnsResourceArgs(
public val catalogId: Output,
public val columnNames: Output>? = null,
public val columnWildcard: Output? = null,
public val databaseName: Output,
public val name: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.lakeformation.inputs.PrincipalPermissionsTableWithColumnsResourceArgs =
com.pulumi.awsnative.lakeformation.inputs.PrincipalPermissionsTableWithColumnsResourceArgs.builder()
.catalogId(catalogId.applyValue({ args0 -> args0 }))
.columnNames(columnNames?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.columnWildcard(columnWildcard?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.databaseName(databaseName.applyValue({ args0 -> args0 }))
.name(name.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [PrincipalPermissionsTableWithColumnsResourceArgs].
*/
@PulumiTagMarker
public class PrincipalPermissionsTableWithColumnsResourceArgsBuilder internal constructor() {
private var catalogId: Output? = null
private var columnNames: Output>? = null
private var columnWildcard: Output? = null
private var databaseName: Output? = null
private var name: Output? = null
/**
* @param value The identifier for the GLUDC where the location is registered with LFlong.
*/
@JvmName("begpjhqsyykieqyk")
public suspend fun catalogId(`value`: Output) {
this.catalogId = value
}
/**
* @param value The list of column names for the table. At least one of ``ColumnNames`` or ``ColumnWildcard`` is required.
*/
@JvmName("keihtijguliqfsmi")
public suspend fun columnNames(`value`: Output>) {
this.columnNames = value
}
@JvmName("siilhpfnaqqmfowh")
public suspend fun columnNames(vararg values: Output) {
this.columnNames = Output.all(values.asList())
}
/**
* @param values The list of column names for the table. At least one of ``ColumnNames`` or ``ColumnWildcard`` is required.
*/
@JvmName("vwvrlbbucunjoalr")
public suspend fun columnNames(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy