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

com.pulumi.vault.ldap.kotlin.inputs.GetDynamicCredentialsPlainArgs.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.ldap.kotlin.inputs

import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.vault.ldap.inputs.GetDynamicCredentialsPlainArgs.builder
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * A collection of arguments for invoking getDynamicCredentials.
 * @property mount
 * @property namespace
 * @property roleName
 */
public data class GetDynamicCredentialsPlainArgs(
    public val mount: String,
    public val namespace: String? = null,
    public val roleName: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.vault.ldap.inputs.GetDynamicCredentialsPlainArgs =
        com.pulumi.vault.ldap.inputs.GetDynamicCredentialsPlainArgs.builder()
            .mount(mount.let({ args0 -> args0 }))
            .namespace(namespace?.let({ args0 -> args0 }))
            .roleName(roleName.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetDynamicCredentialsPlainArgs].
 */
@PulumiTagMarker
public class GetDynamicCredentialsPlainArgsBuilder internal constructor() {
    private var mount: String? = null

    private var namespace: String? = null

    private var roleName: String? = null

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

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

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

    internal fun build(): GetDynamicCredentialsPlainArgs = GetDynamicCredentialsPlainArgs(
        mount = mount ?: throw PulumiNullFieldException("mount"),
        namespace = namespace,
        roleName = roleName ?: throw PulumiNullFieldException("roleName"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy