
com.pulumi.awsnative.amplifyuibuilder.kotlin.outputs.FormSectionalElement.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.Double
import kotlin.String
import kotlin.Suppress
/**
*
* @property excluded Excludes a sectional element that was generated by default for a specified data model.
* @property level Specifies the size of the font for a `Heading` sectional element. Valid values are `1 | 2 | 3 | 4 | 5 | 6` .
* @property orientation Specifies the orientation for a `Divider` sectional element. Valid values are `horizontal` or `vertical` .
* @property position Specifies the position of the text in a field for a `Text` sectional element.
* @property text The text for a `Text` sectional element.
* @property type The type of sectional element. Valid values are `Heading` , `Text` , and `Divider` .
*/
public data class FormSectionalElement(
public val excluded: Boolean? = null,
public val level: Double? = null,
public val orientation: String? = null,
public val position: Any? = null,
public val text: String? = null,
public val type: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.amplifyuibuilder.outputs.FormSectionalElement): FormSectionalElement = FormSectionalElement(
excluded = javaType.excluded().map({ args0 -> args0 }).orElse(null),
level = javaType.level().map({ args0 -> args0 }).orElse(null),
orientation = javaType.orientation().map({ args0 -> args0 }).orElse(null),
position = javaType.position().map({ args0 -> args0 }).orElse(null),
text = javaType.text().map({ args0 -> args0 }).orElse(null),
type = javaType.type(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy