com.pulumi.gcp.bigtable.kotlin.inputs.GetTableIamPolicyPlainArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.bigtable.kotlin.inputs
import com.pulumi.gcp.bigtable.inputs.GetTableIamPolicyPlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* A collection of arguments for invoking getTableIamPolicy.
* @property instance The name or relative resource id of the instance that owns the table.
* @property project
* @property table The name or relative resource id of the table to manage IAM policies for.
*/
public data class GetTableIamPolicyPlainArgs(
public val instance: String,
public val project: String? = null,
public val table: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.bigtable.inputs.GetTableIamPolicyPlainArgs =
com.pulumi.gcp.bigtable.inputs.GetTableIamPolicyPlainArgs.builder()
.instance(instance.let({ args0 -> args0 }))
.project(project?.let({ args0 -> args0 }))
.table(table.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetTableIamPolicyPlainArgs].
*/
@PulumiTagMarker
public class GetTableIamPolicyPlainArgsBuilder internal constructor() {
private var instance: String? = null
private var project: String? = null
private var table: String? = null
/**
* @param value The name or relative resource id of the instance that owns the table.
*/
@JvmName("dflbrnpovukpgvts")
public suspend fun instance(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.instance = mapped
}
/**
* @param value
*/
@JvmName("kjuxasewnnvuhjck")
public suspend fun project(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.project = mapped
}
/**
* @param value The name or relative resource id of the table to manage IAM policies for.
*/
@JvmName("nfxkjfjbuuuxbujt")
public suspend fun table(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.table = mapped
}
internal fun build(): GetTableIamPolicyPlainArgs = GetTableIamPolicyPlainArgs(
instance = instance ?: throw PulumiNullFieldException("instance"),
project = project,
table = table ?: throw PulumiNullFieldException("table"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy