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

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

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

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

import com.pulumi.awsnative.amplifyuibuilder.inputs.FormInputBindingPropertiesValueArgs.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 type The property type.
 */
public data class FormInputBindingPropertiesValueArgs(
    public val bindingProperties: Output? = null,
    public val type: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.amplifyuibuilder.inputs.FormInputBindingPropertiesValueArgs =
        com.pulumi.awsnative.amplifyuibuilder.inputs.FormInputBindingPropertiesValueArgs.builder()
            .bindingProperties(bindingProperties?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .type(type?.applyValue({ args0 -> args0 })).build()
}

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

    private var type: Output? = null

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

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

    /**
     * @param value Describes the properties to customize with data at runtime.
     */
    @JvmName("vcuefyjrmxxmqinn")
    public suspend fun bindingProperties(`value`: FormInputBindingPropertiesValuePropertiesArgs?) {
        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("nenwilkfphxfqawn")
    public suspend fun bindingProperties(argument: suspend FormInputBindingPropertiesValuePropertiesArgsBuilder.() -> Unit) {
        val toBeMapped = FormInputBindingPropertiesValuePropertiesArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.bindingProperties = mapped
    }

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

    internal fun build(): FormInputBindingPropertiesValueArgs = FormInputBindingPropertiesValueArgs(
        bindingProperties = bindingProperties,
        type = type,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy