com.pulumi.googlenative.dataplex.v1.kotlin.inputs.GetDataAttributeBindingIamPolicyPlainArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.dataplex.v1.kotlin.inputs
import com.pulumi.googlenative.dataplex.v1.inputs.GetDataAttributeBindingIamPolicyPlainArgs.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 dataAttributeBindingId
* @property location
* @property optionsRequestedPolicyVersion
* @property project
*/
public data class GetDataAttributeBindingIamPolicyPlainArgs(
public val dataAttributeBindingId: String,
public val location: String,
public val optionsRequestedPolicyVersion: Int? = null,
public val project: String? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.googlenative.dataplex.v1.inputs.GetDataAttributeBindingIamPolicyPlainArgs =
com.pulumi.googlenative.dataplex.v1.inputs.GetDataAttributeBindingIamPolicyPlainArgs.builder()
.dataAttributeBindingId(dataAttributeBindingId.let({ args0 -> args0 }))
.location(location.let({ args0 -> args0 }))
.optionsRequestedPolicyVersion(optionsRequestedPolicyVersion?.let({ args0 -> args0 }))
.project(project?.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetDataAttributeBindingIamPolicyPlainArgs].
*/
@PulumiTagMarker
public class GetDataAttributeBindingIamPolicyPlainArgsBuilder internal constructor() {
private var dataAttributeBindingId: String? = null
private var location: String? = null
private var optionsRequestedPolicyVersion: Int? = null
private var project: String? = null
/**
* @param value
*/
@JvmName("qjwsvrujtjvyvpqg")
public suspend fun dataAttributeBindingId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.dataAttributeBindingId = mapped
}
/**
* @param value
*/
@JvmName("tpqmcoviudpmuwoj")
public suspend fun location(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.location = mapped
}
/**
* @param value
*/
@JvmName("gcrdlgjmrobxffih")
public suspend fun optionsRequestedPolicyVersion(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.optionsRequestedPolicyVersion = mapped
}
/**
* @param value
*/
@JvmName("gqkhhidkvyilorry")
public suspend fun project(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.project = mapped
}
internal fun build(): GetDataAttributeBindingIamPolicyPlainArgs =
GetDataAttributeBindingIamPolicyPlainArgs(
dataAttributeBindingId = dataAttributeBindingId ?: throw
PulumiNullFieldException("dataAttributeBindingId"),
location = location ?: throw PulumiNullFieldException("location"),
optionsRequestedPolicyVersion = optionsRequestedPolicyVersion,
project = project,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy