com.pulumi.gcp.dataform.kotlin.RepositoryIamPolicyArgs.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.dataform.kotlin
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.dataform.RepositoryIamPolicyArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property policyData
* @property project
* @property region
* @property repository
*/
public data class RepositoryIamPolicyArgs(
public val policyData: Output? = null,
public val project: Output? = null,
public val region: Output? = null,
public val repository: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.dataform.RepositoryIamPolicyArgs =
com.pulumi.gcp.dataform.RepositoryIamPolicyArgs.builder()
.policyData(policyData?.applyValue({ args0 -> args0 }))
.project(project?.applyValue({ args0 -> args0 }))
.region(region?.applyValue({ args0 -> args0 }))
.repository(repository?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [RepositoryIamPolicyArgs].
*/
@PulumiTagMarker
public class RepositoryIamPolicyArgsBuilder internal constructor() {
private var policyData: Output? = null
private var project: Output? = null
private var region: Output? = null
private var repository: Output? = null
/**
* @param value
*/
@JvmName("urnnveuhlfacowog")
public suspend fun policyData(`value`: Output) {
this.policyData = value
}
/**
* @param value
*/
@JvmName("iiisteslveiqbmbw")
public suspend fun project(`value`: Output) {
this.project = value
}
/**
* @param value
*/
@JvmName("rqkwjaqygnixutft")
public suspend fun region(`value`: Output) {
this.region = value
}
/**
* @param value
*/
@JvmName("qryxxlewdxhtyfhy")
public suspend fun repository(`value`: Output) {
this.repository = value
}
/**
* @param value
*/
@JvmName("fgbookjluqwcjwno")
public suspend fun policyData(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.policyData = mapped
}
/**
* @param value
*/
@JvmName("baqgnyeqtelmxfng")
public suspend fun project(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.project = mapped
}
/**
* @param value
*/
@JvmName("tsuktkkqunrqdqar")
public suspend fun region(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.region = mapped
}
/**
* @param value
*/
@JvmName("hfllwmxrufpwjaoe")
public suspend fun repository(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.repository = mapped
}
internal fun build(): RepositoryIamPolicyArgs = RepositoryIamPolicyArgs(
policyData = policyData,
project = project,
region = region,
repository = repository,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy