
com.pulumi.googlenative.dataplex.v1.kotlin.inputs.GetLakeTaskIamPolicyPlainArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-google-native-kotlin Show documentation
Show all versions of pulumi-google-native-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.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.dataplex.v1.kotlin.inputs
import com.pulumi.googlenative.dataplex.v1.inputs.GetLakeTaskIamPolicyPlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property lakeId
* @property location
* @property optionsRequestedPolicyVersion
* @property project
* @property taskId
*/
public data class GetLakeTaskIamPolicyPlainArgs(
public val lakeId: String,
public val location: String,
public val optionsRequestedPolicyVersion: Int? = null,
public val project: String? = null,
public val taskId: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.googlenative.dataplex.v1.inputs.GetLakeTaskIamPolicyPlainArgs =
com.pulumi.googlenative.dataplex.v1.inputs.GetLakeTaskIamPolicyPlainArgs.builder()
.lakeId(lakeId.let({ args0 -> args0 }))
.location(location.let({ args0 -> args0 }))
.optionsRequestedPolicyVersion(optionsRequestedPolicyVersion?.let({ args0 -> args0 }))
.project(project?.let({ args0 -> args0 }))
.taskId(taskId.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetLakeTaskIamPolicyPlainArgs].
*/
@PulumiTagMarker
public class GetLakeTaskIamPolicyPlainArgsBuilder internal constructor() {
private var lakeId: String? = null
private var location: String? = null
private var optionsRequestedPolicyVersion: Int? = null
private var project: String? = null
private var taskId: String? = null
/**
* @param value
*/
@JvmName("jlsahwjmxxcwpumh")
public suspend fun lakeId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.lakeId = mapped
}
/**
* @param value
*/
@JvmName("elyipvktiystaobn")
public suspend fun location(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.location = mapped
}
/**
* @param value
*/
@JvmName("xxtnwmchfqbxkijf")
public suspend fun optionsRequestedPolicyVersion(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.optionsRequestedPolicyVersion = mapped
}
/**
* @param value
*/
@JvmName("ijnxkxyogtjisyvi")
public suspend fun project(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.project = mapped
}
/**
* @param value
*/
@JvmName("ubmjqbsqwtvqenka")
public suspend fun taskId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.taskId = mapped
}
internal fun build(): GetLakeTaskIamPolicyPlainArgs = GetLakeTaskIamPolicyPlainArgs(
lakeId = lakeId ?: throw PulumiNullFieldException("lakeId"),
location = location ?: throw PulumiNullFieldException("location"),
optionsRequestedPolicyVersion = optionsRequestedPolicyVersion,
project = project,
taskId = taskId ?: throw PulumiNullFieldException("taskId"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy