![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.amplifyuibuilder.kotlin.inputs.ComponentFormBindingElementArgs.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.amplifyuibuilder.kotlin.inputs
import com.pulumi.awsnative.amplifyuibuilder.inputs.ComponentFormBindingElementArgs.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 element The name of the component to retrieve a value from.
* @property property The property to retrieve a value from.
*/
public data class ComponentFormBindingElementArgs(
public val element: Output,
public val `property`: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.amplifyuibuilder.inputs.ComponentFormBindingElementArgs =
com.pulumi.awsnative.amplifyuibuilder.inputs.ComponentFormBindingElementArgs.builder()
.element(element.applyValue({ args0 -> args0 }))
.`property`(`property`.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ComponentFormBindingElementArgs].
*/
@PulumiTagMarker
public class ComponentFormBindingElementArgsBuilder internal constructor() {
private var element: Output? = null
private var `property`: Output? = null
/**
* @param value The name of the component to retrieve a value from.
*/
@JvmName("slfcjhxgbnrklaam")
public suspend fun element(`value`: Output) {
this.element = value
}
/**
* @param value The property to retrieve a value from.
*/
@JvmName("veynowaxtnyciteb")
public suspend fun `property`(`value`: Output) {
this.`property` = value
}
/**
* @param value The name of the component to retrieve a value from.
*/
@JvmName("umrybbrnghtcdwbq")
public suspend fun element(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.element = mapped
}
/**
* @param value The property to retrieve a value from.
*/
@JvmName("bitltfnrwsiopysq")
public suspend fun `property`(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.`property` = mapped
}
internal fun build(): ComponentFormBindingElementArgs = ComponentFormBindingElementArgs(
element = element ?: throw PulumiNullFieldException("element"),
`property` = `property` ?: throw PulumiNullFieldException("property"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy