![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.amplifyuibuilder.kotlin.outputs.ComponentProperty.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.amplifyuibuilder.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map
/**
*
* @property bindingProperties The information to bind the component property to data at runtime.
* @property bindings The information to bind the component property to form data.
* @property collectionBindingProperties The information to bind the component property to data at runtime. Use this for collection components.
* @property componentName The name of the component that is affected by an event.
* @property concat A list of component properties to concatenate to create the value to assign to this component property.
* @property condition The conditional expression to use to assign a value to the component property.
* @property configured Specifies whether the user configured the property in Amplify Studio after importing it.
* @property defaultValue The default value to assign to the component property.
* @property event An event that occurs in your app. Use this for workflow data binding.
* @property importedValue The default value assigned to the property when the component is imported into an app.
* @property model The data model to use to assign a value to the component property.
* @property property The name of the component's property that is affected by an event.
* @property type The component type.
* @property userAttribute An authenticated user attribute to use to assign a value to the component property.
* @property value The value to assign to the component property.
*/
public data class ComponentProperty(
public val bindingProperties: ComponentPropertyBindingProperties? = null,
public val bindings: Map? = null,
public val collectionBindingProperties: ComponentPropertyBindingProperties? = null,
public val componentName: String? = null,
public val concat: List? = null,
public val condition: ComponentConditionProperty? = null,
public val configured: Boolean? = null,
public val defaultValue: String? = null,
public val event: String? = null,
public val importedValue: String? = null,
public val model: String? = null,
public val `property`: String? = null,
public val type: String? = null,
public val userAttribute: String? = null,
public val `value`: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.amplifyuibuilder.outputs.ComponentProperty): ComponentProperty = ComponentProperty(
bindingProperties = javaType.bindingProperties().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.amplifyuibuilder.kotlin.outputs.ComponentPropertyBindingProperties.Companion.toKotlin(args0)
})
}).orElse(null),
bindings = javaType.bindings().map({ args0 ->
args0.key.to(
args0.value.let({ args0 ->
com.pulumi.awsnative.amplifyuibuilder.kotlin.outputs.ComponentFormBindingElement.Companion.toKotlin(args0)
}),
)
}).toMap(),
collectionBindingProperties = javaType.collectionBindingProperties().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.amplifyuibuilder.kotlin.outputs.ComponentPropertyBindingProperties.Companion.toKotlin(args0)
})
}).orElse(null),
componentName = javaType.componentName().map({ args0 -> args0 }).orElse(null),
concat = javaType.concat().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.amplifyuibuilder.kotlin.outputs.ComponentProperty.Companion.toKotlin(args0)
})
}),
condition = javaType.condition().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.amplifyuibuilder.kotlin.outputs.ComponentConditionProperty.Companion.toKotlin(args0)
})
}).orElse(null),
configured = javaType.configured().map({ args0 -> args0 }).orElse(null),
defaultValue = javaType.defaultValue().map({ args0 -> args0 }).orElse(null),
event = javaType.event().map({ args0 -> args0 }).orElse(null),
importedValue = javaType.importedValue().map({ args0 -> args0 }).orElse(null),
model = javaType.model().map({ args0 -> args0 }).orElse(null),
`property` = javaType.`property`().map({ args0 -> args0 }).orElse(null),
type = javaType.type().map({ args0 -> args0 }).orElse(null),
userAttribute = javaType.userAttribute().map({ args0 -> args0 }).orElse(null),
`value` = javaType.`value`().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy