
com.pulumi.googlenative.dataplex.v1.kotlin.inputs.GetLakeZoneIamPolicyPlainArgs.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.GetLakeZoneIamPolicyPlainArgs.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 zone
*/
public data class GetLakeZoneIamPolicyPlainArgs(
public val lakeId: String,
public val location: String,
public val optionsRequestedPolicyVersion: Int? = null,
public val project: String? = null,
public val zone: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.googlenative.dataplex.v1.inputs.GetLakeZoneIamPolicyPlainArgs =
com.pulumi.googlenative.dataplex.v1.inputs.GetLakeZoneIamPolicyPlainArgs.builder()
.lakeId(lakeId.let({ args0 -> args0 }))
.location(location.let({ args0 -> args0 }))
.optionsRequestedPolicyVersion(optionsRequestedPolicyVersion?.let({ args0 -> args0 }))
.project(project?.let({ args0 -> args0 }))
.zone(zone.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetLakeZoneIamPolicyPlainArgs].
*/
@PulumiTagMarker
public class GetLakeZoneIamPolicyPlainArgsBuilder internal constructor() {
private var lakeId: String? = null
private var location: String? = null
private var optionsRequestedPolicyVersion: Int? = null
private var project: String? = null
private var zone: String? = null
/**
* @param value
*/
@JvmName("iqoirnxwfvhkkaks")
public suspend fun lakeId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.lakeId = mapped
}
/**
* @param value
*/
@JvmName("eafcslhakhjiffgq")
public suspend fun location(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.location = mapped
}
/**
* @param value
*/
@JvmName("herhbjmynsiajvjb")
public suspend fun optionsRequestedPolicyVersion(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.optionsRequestedPolicyVersion = mapped
}
/**
* @param value
*/
@JvmName("ieogqjxyrvavarrs")
public suspend fun project(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.project = mapped
}
/**
* @param value
*/
@JvmName("shrfexjbnglqkhoj")
public suspend fun zone(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.zone = mapped
}
internal fun build(): GetLakeZoneIamPolicyPlainArgs = GetLakeZoneIamPolicyPlainArgs(
lakeId = lakeId ?: throw PulumiNullFieldException("lakeId"),
location = location ?: throw PulumiNullFieldException("location"),
optionsRequestedPolicyVersion = optionsRequestedPolicyVersion,
project = project,
zone = zone ?: throw PulumiNullFieldException("zone"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy