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

com.pulumi.azure.streamanalytics.kotlin.inputs.FunctionJavascriptUdaInputArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.streamanalytics.kotlin.inputs

import com.pulumi.azure.streamanalytics.inputs.FunctionJavascriptUdaInputArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property configurationParameter Is this input parameter a configuration parameter? Defaults to `false`.
 * @property type The input data type of this JavaScript Function. Possible values include `any`, `array`, `bigint`, `datetime`, `float`, `nvarchar(max)` and `record`.
 */
public data class FunctionJavascriptUdaInputArgs(
    public val configurationParameter: Output? = null,
    public val type: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.streamanalytics.inputs.FunctionJavascriptUdaInputArgs =
        com.pulumi.azure.streamanalytics.inputs.FunctionJavascriptUdaInputArgs.builder()
            .configurationParameter(configurationParameter?.applyValue({ args0 -> args0 }))
            .type(type.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [FunctionJavascriptUdaInputArgs].
 */
@PulumiTagMarker
public class FunctionJavascriptUdaInputArgsBuilder internal constructor() {
    private var configurationParameter: Output? = null

    private var type: Output? = null

    /**
     * @param value Is this input parameter a configuration parameter? Defaults to `false`.
     */
    @JvmName("cnwwspdicbbqjkye")
    public suspend fun configurationParameter(`value`: Output) {
        this.configurationParameter = value
    }

    /**
     * @param value The input data type of this JavaScript Function. Possible values include `any`, `array`, `bigint`, `datetime`, `float`, `nvarchar(max)` and `record`.
     */
    @JvmName("sacpqqtpibvkhgef")
    public suspend fun type(`value`: Output) {
        this.type = value
    }

    /**
     * @param value Is this input parameter a configuration parameter? Defaults to `false`.
     */
    @JvmName("lyipdrpwrwmjxqrm")
    public suspend fun configurationParameter(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.configurationParameter = mapped
    }

    /**
     * @param value The input data type of this JavaScript Function. Possible values include `any`, `array`, `bigint`, `datetime`, `float`, `nvarchar(max)` and `record`.
     */
    @JvmName("acgndewqivxofdcn")
    public suspend fun type(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.type = mapped
    }

    internal fun build(): FunctionJavascriptUdaInputArgs = FunctionJavascriptUdaInputArgs(
        configurationParameter = configurationParameter,
        type = type ?: throw PulumiNullFieldException("type"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy