![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.amplifyuibuilder.kotlin.inputs.FormFieldConfigArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.amplifyuibuilder.kotlin.inputs
import com.pulumi.awsnative.amplifyuibuilder.inputs.FormFieldConfigArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Any
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property excluded Specifies whether to hide a field.
* @property inputType Describes the configuration for the default input value to display for a field.
* @property label The label for the field.
* @property position Specifies the field position.
* @property validations The validations to perform on the value in the field.
*/
public data class FormFieldConfigArgs(
public val excluded: Output? = null,
public val inputType: Output? = null,
public val label: Output? = null,
public val position: Output? = null,
public val validations: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.amplifyuibuilder.inputs.FormFieldConfigArgs =
com.pulumi.awsnative.amplifyuibuilder.inputs.FormFieldConfigArgs.builder()
.excluded(excluded?.applyValue({ args0 -> args0 }))
.inputType(inputType?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.label(label?.applyValue({ args0 -> args0 }))
.position(position?.applyValue({ args0 -> args0 }))
.validations(
validations?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [FormFieldConfigArgs].
*/
@PulumiTagMarker
public class FormFieldConfigArgsBuilder internal constructor() {
private var excluded: Output? = null
private var inputType: Output? = null
private var label: Output? = null
private var position: Output? = null
private var validations: Output>? = null
/**
* @param value Specifies whether to hide a field.
*/
@JvmName("ryvldernoxaqogir")
public suspend fun excluded(`value`: Output) {
this.excluded = value
}
/**
* @param value Describes the configuration for the default input value to display for a field.
*/
@JvmName("nlyyfuvsunhcuwwt")
public suspend fun inputType(`value`: Output) {
this.inputType = value
}
/**
* @param value The label for the field.
*/
@JvmName("tfqgndaisxxbhbqr")
public suspend fun label(`value`: Output) {
this.label = value
}
/**
* @param value Specifies the field position.
*/
@JvmName("gerqiaakioerunku")
public suspend fun position(`value`: Output) {
this.position = value
}
/**
* @param value The validations to perform on the value in the field.
*/
@JvmName("bnnbywytrrbcgedf")
public suspend fun validations(`value`: Output>) {
this.validations = value
}
@JvmName("krvirvpaypynocin")
public suspend fun validations(vararg values: Output) {
this.validations = Output.all(values.asList())
}
/**
* @param values The validations to perform on the value in the field.
*/
@JvmName("tldwgddnxkxbgcgh")
public suspend fun validations(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy