
com.pulumi.googlenative.pubsub.v1.kotlin.inputs.GetTopicIamPolicyPlainArgs.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.pubsub.v1.kotlin.inputs
import com.pulumi.googlenative.pubsub.v1.inputs.GetTopicIamPolicyPlainArgs.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 optionsRequestedPolicyVersion
* @property project
* @property topicId
*/
public data class GetTopicIamPolicyPlainArgs(
public val optionsRequestedPolicyVersion: Int? = null,
public val project: String? = null,
public val topicId: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.googlenative.pubsub.v1.inputs.GetTopicIamPolicyPlainArgs =
com.pulumi.googlenative.pubsub.v1.inputs.GetTopicIamPolicyPlainArgs.builder()
.optionsRequestedPolicyVersion(optionsRequestedPolicyVersion?.let({ args0 -> args0 }))
.project(project?.let({ args0 -> args0 }))
.topicId(topicId.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetTopicIamPolicyPlainArgs].
*/
@PulumiTagMarker
public class GetTopicIamPolicyPlainArgsBuilder internal constructor() {
private var optionsRequestedPolicyVersion: Int? = null
private var project: String? = null
private var topicId: String? = null
/**
* @param value
*/
@JvmName("yekddyhowurdcwou")
public suspend fun optionsRequestedPolicyVersion(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.optionsRequestedPolicyVersion = mapped
}
/**
* @param value
*/
@JvmName("hfetdffufcoswrsg")
public suspend fun project(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.project = mapped
}
/**
* @param value
*/
@JvmName("vaynnjtxrfnurofg")
public suspend fun topicId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.topicId = mapped
}
internal fun build(): GetTopicIamPolicyPlainArgs = GetTopicIamPolicyPlainArgs(
optionsRequestedPolicyVersion = optionsRequestedPolicyVersion,
project = project,
topicId = topicId ?: throw PulumiNullFieldException("topicId"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy