All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.vault.rabbitMq.kotlin.inputs.SecretBackendRoleVhostArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.4.0.0
Show newest version
@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.SecretBackendRoleVhostArgs.builder
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property configure The configure permissions for this vhost.
 * @property host The vhost to set permissions for.
 * @property read The read permissions for this vhost.
 * @property write The write permissions for this vhost.
 */
public data class SecretBackendRoleVhostArgs(
    public val configure: Output,
    public val host: Output,
    public val read: Output,
    public val write: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.vault.rabbitMq.inputs.SecretBackendRoleVhostArgs =
        com.pulumi.vault.rabbitMq.inputs.SecretBackendRoleVhostArgs.builder()
            .configure(configure.applyValue({ args0 -> args0 }))
            .host(host.applyValue({ args0 -> args0 }))
            .read(read.applyValue({ args0 -> args0 }))
            .write(write.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [SecretBackendRoleVhostArgs].
 */
@PulumiTagMarker
public class SecretBackendRoleVhostArgsBuilder internal constructor() {
    private var configure: Output? = null

    private var host: Output? = null

    private var read: Output? = null

    private var write: Output? = null

    /**
     * @param value The configure permissions for this vhost.
     */
    @JvmName("tassnulkvhlphjjx")
    public suspend fun configure(`value`: Output) {
        this.configure = value
    }

    /**
     * @param value The vhost to set permissions for.
     */
    @JvmName("sgiujqdvunpcseum")
    public suspend fun host(`value`: Output) {
        this.host = value
    }

    /**
     * @param value The read permissions for this vhost.
     */
    @JvmName("rwhpxsxhdmsmgbpx")
    public suspend fun read(`value`: Output) {
        this.read = value
    }

    /**
     * @param value The write permissions for this vhost.
     */
    @JvmName("nabogfbqxwiyylfh")
    public suspend fun write(`value`: Output) {
        this.write = value
    }

    /**
     * @param value The configure permissions for this vhost.
     */
    @JvmName("gfuwsdoidthldvcn")
    public suspend fun configure(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.configure = mapped
    }

    /**
     * @param value The vhost to set permissions for.
     */
    @JvmName("ekcepwpjeftqlflo")
    public suspend fun host(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.host = mapped
    }

    /**
     * @param value The read permissions for this vhost.
     */
    @JvmName("iwpqptjhuoqloofp")
    public suspend fun read(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.read = mapped
    }

    /**
     * @param value The write permissions for this vhost.
     */
    @JvmName("wopxswrkatmutjuc")
    public suspend fun write(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.write = mapped
    }

    internal fun build(): SecretBackendRoleVhostArgs = SecretBackendRoleVhostArgs(
        configure = configure ?: throw PulumiNullFieldException("configure"),
        host = host ?: throw PulumiNullFieldException("host"),
        read = read ?: throw PulumiNullFieldException("read"),
        write = write ?: throw PulumiNullFieldException("write"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy