
com.pulumi.awsnative.appstream.kotlin.inputs.DirectoryConfigServiceAccountCredentialsArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.appstream.kotlin.inputs
import com.pulumi.awsnative.appstream.inputs.DirectoryConfigServiceAccountCredentialsArgs.builder
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 kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property accountName The user name of the account. This account must have the following privileges: create computer objects, join computers to the domain, and change/reset the password on descendant computer objects for the organizational units specified.
* @property accountPassword The password for the account.
*/
public data class DirectoryConfigServiceAccountCredentialsArgs(
public val accountName: Output,
public val accountPassword: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.appstream.inputs.DirectoryConfigServiceAccountCredentialsArgs =
com.pulumi.awsnative.appstream.inputs.DirectoryConfigServiceAccountCredentialsArgs.builder()
.accountName(accountName.applyValue({ args0 -> args0 }))
.accountPassword(accountPassword.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DirectoryConfigServiceAccountCredentialsArgs].
*/
@PulumiTagMarker
public class DirectoryConfigServiceAccountCredentialsArgsBuilder internal constructor() {
private var accountName: Output? = null
private var accountPassword: Output? = null
/**
* @param value The user name of the account. This account must have the following privileges: create computer objects, join computers to the domain, and change/reset the password on descendant computer objects for the organizational units specified.
*/
@JvmName("raaoldmpqiudpvwr")
public suspend fun accountName(`value`: Output) {
this.accountName = value
}
/**
* @param value The password for the account.
*/
@JvmName("nnsnuplctigckhrc")
public suspend fun accountPassword(`value`: Output) {
this.accountPassword = value
}
/**
* @param value The user name of the account. This account must have the following privileges: create computer objects, join computers to the domain, and change/reset the password on descendant computer objects for the organizational units specified.
*/
@JvmName("yrcovlkqrryksunv")
public suspend fun accountName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.accountName = mapped
}
/**
* @param value The password for the account.
*/
@JvmName("tdknsbqqdngteraw")
public suspend fun accountPassword(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.accountPassword = mapped
}
internal fun build(): DirectoryConfigServiceAccountCredentialsArgs =
DirectoryConfigServiceAccountCredentialsArgs(
accountName = accountName ?: throw PulumiNullFieldException("accountName"),
accountPassword = accountPassword ?: throw PulumiNullFieldException("accountPassword"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy