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

com.pulumi.azurenative.scvmm.kotlin.inputs.VMMServerPropertiesCredentialsArgs.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: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.scvmm.kotlin.inputs

import com.pulumi.azurenative.scvmm.inputs.VMMServerPropertiesCredentialsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * Credentials to connect to VMMServer.
 * @property password Credentials to use to connect to VMMServer.
 * @property username Username to use to connect to VMMServer.
 */
public data class VMMServerPropertiesCredentialsArgs(
    public val password: Output? = null,
    public val username: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.scvmm.inputs.VMMServerPropertiesCredentialsArgs =
        com.pulumi.azurenative.scvmm.inputs.VMMServerPropertiesCredentialsArgs.builder()
            .password(password?.applyValue({ args0 -> args0 }))
            .username(username?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [VMMServerPropertiesCredentialsArgs].
 */
@PulumiTagMarker
public class VMMServerPropertiesCredentialsArgsBuilder internal constructor() {
    private var password: Output? = null

    private var username: Output? = null

    /**
     * @param value Credentials to use to connect to VMMServer.
     */
    @JvmName("yhlhbqosuajytvto")
    public suspend fun password(`value`: Output) {
        this.password = value
    }

    /**
     * @param value Username to use to connect to VMMServer.
     */
    @JvmName("hpvavqfoyhajxgpe")
    public suspend fun username(`value`: Output) {
        this.username = value
    }

    /**
     * @param value Credentials to use to connect to VMMServer.
     */
    @JvmName("stwydeqmawindidu")
    public suspend fun password(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.password = mapped
    }

    /**
     * @param value Username to use to connect to VMMServer.
     */
    @JvmName("fycrnwlsffdprpry")
    public suspend fun username(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.username = mapped
    }

    internal fun build(): VMMServerPropertiesCredentialsArgs = VMMServerPropertiesCredentialsArgs(
        password = password,
        username = username,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy