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

com.pulumi.awsnative.elasticache.kotlin.inputs.GetUserPlainArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.elasticache.kotlin.inputs

import com.pulumi.awsnative.elasticache.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 userId The ID of the user.
 */
public data class GetUserPlainArgs(
    public val userId: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.elasticache.inputs.GetUserPlainArgs =
        com.pulumi.awsnative.elasticache.inputs.GetUserPlainArgs.builder()
            .userId(userId.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetUserPlainArgs].
 */
@PulumiTagMarker
public class GetUserPlainArgsBuilder internal constructor() {
    private var userId: String? = null

    /**
     * @param value The ID of the user.
     */
    @JvmName("ttdqkwnjolmkvspr")
    public suspend fun userId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.userId = mapped
    }

    internal fun build(): GetUserPlainArgs = GetUserPlainArgs(
        userId = userId ?: throw PulumiNullFieldException("userId"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy