
com.pulumi.awsnative.amplifyuibuilder.kotlin.inputs.FormInputValuePropertyBindingPropertiesArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.amplifyuibuilder.kotlin.inputs
import com.pulumi.awsnative.amplifyuibuilder.inputs.FormInputValuePropertyBindingPropertiesArgs.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 field The data field to bind the property to.
* @property property The form property to bind to the data field.
*/
public data class FormInputValuePropertyBindingPropertiesArgs(
public val `field`: Output? = null,
public val `property`: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.amplifyuibuilder.inputs.FormInputValuePropertyBindingPropertiesArgs =
com.pulumi.awsnative.amplifyuibuilder.inputs.FormInputValuePropertyBindingPropertiesArgs.builder()
.`field`(`field`?.applyValue({ args0 -> args0 }))
.`property`(`property`.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [FormInputValuePropertyBindingPropertiesArgs].
*/
@PulumiTagMarker
public class FormInputValuePropertyBindingPropertiesArgsBuilder internal constructor() {
private var `field`: Output? = null
private var `property`: Output? = null
/**
* @param value The data field to bind the property to.
*/
@JvmName("rbehfchawqmmdhxh")
public suspend fun `field`(`value`: Output) {
this.`field` = value
}
/**
* @param value The form property to bind to the data field.
*/
@JvmName("boonmklrqqsnegil")
public suspend fun `property`(`value`: Output) {
this.`property` = value
}
/**
* @param value The data field to bind the property to.
*/
@JvmName("hobhunlhhbbcpmqn")
public suspend fun `field`(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.`field` = mapped
}
/**
* @param value The form property to bind to the data field.
*/
@JvmName("yalniptvwncmhvqh")
public suspend fun `property`(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.`property` = mapped
}
internal fun build(): FormInputValuePropertyBindingPropertiesArgs =
FormInputValuePropertyBindingPropertiesArgs(
`field` = `field`,
`property` = `property` ?: throw PulumiNullFieldException("property"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy