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

com.pulumi.vault.azure.kotlin.inputs.BackendRoleAzureRoleArgs.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.azure.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.azure.inputs.BackendRoleAzureRoleArgs.builder
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property roleId
 * @property roleName
 * @property scope
 */
public data class BackendRoleAzureRoleArgs(
    public val roleId: Output? = null,
    public val roleName: Output? = null,
    public val scope: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.vault.azure.inputs.BackendRoleAzureRoleArgs =
        com.pulumi.vault.azure.inputs.BackendRoleAzureRoleArgs.builder()
            .roleId(roleId?.applyValue({ args0 -> args0 }))
            .roleName(roleName?.applyValue({ args0 -> args0 }))
            .scope(scope.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [BackendRoleAzureRoleArgs].
 */
@PulumiTagMarker
public class BackendRoleAzureRoleArgsBuilder internal constructor() {
    private var roleId: Output? = null

    private var roleName: Output? = null

    private var scope: Output? = null

    /**
     * @param value
     */
    @JvmName("xmkgrksossbtwcog")
    public suspend fun roleId(`value`: Output) {
        this.roleId = value
    }

    /**
     * @param value
     */
    @JvmName("xcbiiwjjmbcwqrxw")
    public suspend fun roleName(`value`: Output) {
        this.roleName = value
    }

    /**
     * @param value
     */
    @JvmName("uhtubumwktwfwbmq")
    public suspend fun scope(`value`: Output) {
        this.scope = value
    }

    /**
     * @param value
     */
    @JvmName("kqmwkxfkeyomkjxc")
    public suspend fun roleId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.roleId = mapped
    }

    /**
     * @param value
     */
    @JvmName("gdsvtuqgdlncytek")
    public suspend fun roleName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.roleName = mapped
    }

    /**
     * @param value
     */
    @JvmName("cyjovaerqlooivmd")
    public suspend fun scope(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.scope = mapped
    }

    internal fun build(): BackendRoleAzureRoleArgs = BackendRoleAzureRoleArgs(
        roleId = roleId,
        roleName = roleName,
        scope = scope ?: throw PulumiNullFieldException("scope"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy