
com.pulumi.awsnative.memorydb.kotlin.inputs.GetUserPlainArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.memorydb.kotlin.inputs
import com.pulumi.awsnative.memorydb.inputs.GetUserPlainArgs.builder
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 userName The name of the user.
*/
public data class GetUserPlainArgs(
public val userName: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.memorydb.inputs.GetUserPlainArgs =
com.pulumi.awsnative.memorydb.inputs.GetUserPlainArgs.builder()
.userName(userName.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetUserPlainArgs].
*/
@PulumiTagMarker
public class GetUserPlainArgsBuilder internal constructor() {
private var userName: String? = null
/**
* @param value The name of the user.
*/
@JvmName("tmoblovfsmgceoou")
public suspend fun userName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.userName = mapped
}
internal fun build(): GetUserPlainArgs = GetUserPlainArgs(
userName = userName ?: throw PulumiNullFieldException("userName"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy