com.pulumi.vault.rabbitMq.kotlin.inputs.SecretBackendRoleVhostTopicVhostArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-vault-kotlin Show documentation
Show all versions of pulumi-vault-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.vault.rabbitMq.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.vault.rabbitMq.inputs.SecretBackendRoleVhostTopicVhostArgs.builder
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property read The read permissions for this vhost.
* @property topic The vhost to set permissions for.
* @property write The write permissions for this vhost.
*/
public data class SecretBackendRoleVhostTopicVhostArgs(
public val read: Output,
public val topic: Output,
public val write: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.vault.rabbitMq.inputs.SecretBackendRoleVhostTopicVhostArgs =
com.pulumi.vault.rabbitMq.inputs.SecretBackendRoleVhostTopicVhostArgs.builder()
.read(read.applyValue({ args0 -> args0 }))
.topic(topic.applyValue({ args0 -> args0 }))
.write(write.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [SecretBackendRoleVhostTopicVhostArgs].
*/
@PulumiTagMarker
public class SecretBackendRoleVhostTopicVhostArgsBuilder internal constructor() {
private var read: Output? = null
private var topic: Output? = null
private var write: Output? = null
/**
* @param value The read permissions for this vhost.
*/
@JvmName("etbqewoglstxtamq")
public suspend fun read(`value`: Output) {
this.read = value
}
/**
* @param value The vhost to set permissions for.
*/
@JvmName("qmmyxqfjeyjoqgkx")
public suspend fun topic(`value`: Output) {
this.topic = value
}
/**
* @param value The write permissions for this vhost.
*/
@JvmName("mukmlwkfuoiywkar")
public suspend fun write(`value`: Output) {
this.write = value
}
/**
* @param value The read permissions for this vhost.
*/
@JvmName("jphvvelvemcamgoj")
public suspend fun read(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.read = mapped
}
/**
* @param value The vhost to set permissions for.
*/
@JvmName("drtnunpgnwuxtocc")
public suspend fun topic(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.topic = mapped
}
/**
* @param value The write permissions for this vhost.
*/
@JvmName("dulqqiiwptvhwcoi")
public suspend fun write(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.write = mapped
}
internal fun build(): SecretBackendRoleVhostTopicVhostArgs = SecretBackendRoleVhostTopicVhostArgs(
read = read ?: throw PulumiNullFieldException("read"),
topic = topic ?: throw PulumiNullFieldException("topic"),
write = write ?: throw PulumiNullFieldException("write"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy