All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.amplifyuibuilder.kotlin.inputs.ComponentBindingPropertiesValueArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.amplifyuibuilder.kotlin.inputs

import com.pulumi.awsnative.amplifyuibuilder.inputs.ComponentBindingPropertiesValueArgs.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.jvm.JvmName

/**
 *
 * @property bindingProperties Describes the properties to customize with data at runtime.
 * @property defaultValue The default value of the property.
 * @property type The property type.
 */
public data class ComponentBindingPropertiesValueArgs(
    public val bindingProperties: Output? = null,
    public val defaultValue: Output? = null,
    public val type: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.amplifyuibuilder.inputs.ComponentBindingPropertiesValueArgs =
        com.pulumi.awsnative.amplifyuibuilder.inputs.ComponentBindingPropertiesValueArgs.builder()
            .bindingProperties(bindingProperties?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .defaultValue(defaultValue?.applyValue({ args0 -> args0 }))
            .type(type?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ComponentBindingPropertiesValueArgs].
 */
@PulumiTagMarker
public class ComponentBindingPropertiesValueArgsBuilder internal constructor() {
    private var bindingProperties: Output? = null

    private var defaultValue: Output? = null

    private var type: Output? = null

    /**
     * @param value Describes the properties to customize with data at runtime.
     */
    @JvmName("lqbnfsrmvpravorg")
    public suspend fun bindingProperties(`value`: Output) {
        this.bindingProperties = value
    }

    /**
     * @param value The default value of the property.
     */
    @JvmName("kvlmbhhvmcvvganf")
    public suspend fun defaultValue(`value`: Output) {
        this.defaultValue = value
    }

    /**
     * @param value The property type.
     */
    @JvmName("xmdcsbswixyeyrih")
    public suspend fun type(`value`: Output) {
        this.type = value
    }

    /**
     * @param value Describes the properties to customize with data at runtime.
     */
    @JvmName("fvjuwdhrthmiapvc")
    public suspend fun bindingProperties(`value`: ComponentBindingPropertiesValuePropertiesArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.bindingProperties = mapped
    }

    /**
     * @param argument Describes the properties to customize with data at runtime.
     */
    @JvmName("cxnsyvxuleahvnjh")
    public suspend fun bindingProperties(argument: suspend ComponentBindingPropertiesValuePropertiesArgsBuilder.() -> Unit) {
        val toBeMapped = ComponentBindingPropertiesValuePropertiesArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.bindingProperties = mapped
    }

    /**
     * @param value The default value of the property.
     */
    @JvmName("jebjqhanklrqkine")
    public suspend fun defaultValue(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.defaultValue = mapped
    }

    /**
     * @param value The property type.
     */
    @JvmName("xeakjjedlrbrgesu")
    public suspend fun type(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.type = mapped
    }

    internal fun build(): ComponentBindingPropertiesValueArgs = ComponentBindingPropertiesValueArgs(
        bindingProperties = bindingProperties,
        defaultValue = defaultValue,
        type = type,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy