com.pulumi.awsnative.deadline.kotlin.inputs.QueuePosixUserArgs.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.deadline.kotlin.inputs
import com.pulumi.awsnative.deadline.inputs.QueuePosixUserArgs.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 group The name of the POSIX user's group.
* @property user The name of the POSIX user.
*/
public data class QueuePosixUserArgs(
public val group: Output,
public val user: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.deadline.inputs.QueuePosixUserArgs =
com.pulumi.awsnative.deadline.inputs.QueuePosixUserArgs.builder()
.group(group.applyValue({ args0 -> args0 }))
.user(user.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [QueuePosixUserArgs].
*/
@PulumiTagMarker
public class QueuePosixUserArgsBuilder internal constructor() {
private var group: Output? = null
private var user: Output? = null
/**
* @param value The name of the POSIX user's group.
*/
@JvmName("bguhbmmnpkoymrdk")
public suspend fun group(`value`: Output) {
this.group = value
}
/**
* @param value The name of the POSIX user.
*/
@JvmName("msqygurxthgxilcq")
public suspend fun user(`value`: Output) {
this.user = value
}
/**
* @param value The name of the POSIX user's group.
*/
@JvmName("xyqtjkmhaehbqdbu")
public suspend fun group(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.group = mapped
}
/**
* @param value The name of the POSIX user.
*/
@JvmName("qfubbrxppaeoubtu")
public suspend fun user(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.user = mapped
}
internal fun build(): QueuePosixUserArgs = QueuePosixUserArgs(
group = group ?: throw PulumiNullFieldException("group"),
user = user ?: throw PulumiNullFieldException("user"),
)
}