![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.amplifyuibuilder.kotlin.inputs.ComponentBindingPropertiesValuePropertiesArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.amplifyuibuilder.kotlin.inputs
import com.pulumi.awsnative.amplifyuibuilder.inputs.ComponentBindingPropertiesValuePropertiesArgs.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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property bucket An Amazon S3 bucket.
* @property defaultValue The default value to assign to the property.
* @property field The field to bind the data to.
* @property key The storage key for an Amazon S3 bucket.
* @property model An Amplify DataStore model.
* @property predicates A list of predicates for binding a component's properties to data.
* @property slotName The name of a component slot.
* @property userAttribute An authenticated user attribute.
*/
public data class ComponentBindingPropertiesValuePropertiesArgs(
public val bucket: Output? = null,
public val defaultValue: Output? = null,
public val `field`: Output? = null,
public val key: Output? = null,
public val model: Output? = null,
public val predicates: Output>? = null,
public val slotName: Output? = null,
public val userAttribute: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.amplifyuibuilder.inputs.ComponentBindingPropertiesValuePropertiesArgs =
com.pulumi.awsnative.amplifyuibuilder.inputs.ComponentBindingPropertiesValuePropertiesArgs.builder()
.bucket(bucket?.applyValue({ args0 -> args0 }))
.defaultValue(defaultValue?.applyValue({ args0 -> args0 }))
.`field`(`field`?.applyValue({ args0 -> args0 }))
.key(key?.applyValue({ args0 -> args0 }))
.model(model?.applyValue({ args0 -> args0 }))
.predicates(
predicates?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.slotName(slotName?.applyValue({ args0 -> args0 }))
.userAttribute(userAttribute?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ComponentBindingPropertiesValuePropertiesArgs].
*/
@PulumiTagMarker
public class ComponentBindingPropertiesValuePropertiesArgsBuilder internal constructor() {
private var bucket: Output? = null
private var defaultValue: Output? = null
private var `field`: Output? = null
private var key: Output? = null
private var model: Output? = null
private var predicates: Output>? = null
private var slotName: Output? = null
private var userAttribute: Output? = null
/**
* @param value An Amazon S3 bucket.
*/
@JvmName("swsqlyujbbsyunya")
public suspend fun bucket(`value`: Output) {
this.bucket = value
}
/**
* @param value The default value to assign to the property.
*/
@JvmName("kibpgyxxmhcrfbqk")
public suspend fun defaultValue(`value`: Output) {
this.defaultValue = value
}
/**
* @param value The field to bind the data to.
*/
@JvmName("svnycamnxokldwtd")
public suspend fun `field`(`value`: Output) {
this.`field` = value
}
/**
* @param value The storage key for an Amazon S3 bucket.
*/
@JvmName("tivnojqkfggsunij")
public suspend fun key(`value`: Output) {
this.key = value
}
/**
* @param value An Amplify DataStore model.
*/
@JvmName("vibvdxmjelrhttvi")
public suspend fun model(`value`: Output) {
this.model = value
}
/**
* @param value A list of predicates for binding a component's properties to data.
*/
@JvmName("ftxjtpneydodjolw")
public suspend fun predicates(`value`: Output>) {
this.predicates = value
}
@JvmName("rsgmqwqwtfbkibko")
public suspend fun predicates(vararg values: Output) {
this.predicates = Output.all(values.asList())
}
/**
* @param values A list of predicates for binding a component's properties to data.
*/
@JvmName("ihxxkcuwxpjlnwgc")
public suspend fun predicates(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy