
com.pulumi.awsnative.amplifyuibuilder.kotlin.outputs.FormFieldConfig.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.outputs
import kotlin.Any
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @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 FormFieldConfig(
public val excluded: Boolean? = null,
public val inputType: FormFieldInputConfig? = null,
public val label: String? = null,
public val position: Any? = null,
public val validations: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.amplifyuibuilder.outputs.FormFieldConfig): FormFieldConfig = FormFieldConfig(
excluded = javaType.excluded().map({ args0 -> args0 }).orElse(null),
inputType = javaType.inputType().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.amplifyuibuilder.kotlin.outputs.FormFieldInputConfig.Companion.toKotlin(args0)
})
}).orElse(null),
label = javaType.label().map({ args0 -> args0 }).orElse(null),
position = javaType.position().map({ args0 -> args0 }).orElse(null),
validations = javaType.validations().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.amplifyuibuilder.kotlin.outputs.FormFieldValidationConfiguration.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy