com.pulumi.awsnative.appstream.kotlin.inputs.GetAppBlockBuilderPlainArgs.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.appstream.kotlin.inputs
import com.pulumi.awsnative.appstream.inputs.GetAppBlockBuilderPlainArgs.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 name The name of the app block builder.
*/
public data class GetAppBlockBuilderPlainArgs(
public val name: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.appstream.inputs.GetAppBlockBuilderPlainArgs =
com.pulumi.awsnative.appstream.inputs.GetAppBlockBuilderPlainArgs.builder()
.name(name.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetAppBlockBuilderPlainArgs].
*/
@PulumiTagMarker
public class GetAppBlockBuilderPlainArgsBuilder internal constructor() {
private var name: String? = null
/**
* @param value The name of the app block builder.
*/
@JvmName("xmoprxalrxqihypw")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.name = mapped
}
internal fun build(): GetAppBlockBuilderPlainArgs = GetAppBlockBuilderPlainArgs(
name = name ?: throw PulumiNullFieldException("name"),
)
}