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

com.pulumi.azure.appservice.kotlin.inputs.LinuxFunctionAppSlotConnectionStringArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azure.appservice.kotlin.inputs

import com.pulumi.azure.appservice.inputs.LinuxFunctionAppSlotConnectionStringArgs.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.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property name The name which should be used for this Connection.
 * @property type Type of database. Possible values include: `APIHub`, `Custom`, `DocDb`, `EventHub`, `MySQL`, `NotificationHub`, `PostgreSQL`, `RedisCache`, `ServiceBus`, `SQLAzure`, and `SQLServer`.
 * @property value The connection string value.
 */
public data class LinuxFunctionAppSlotConnectionStringArgs(
    public val name: Output,
    public val type: Output,
    public val `value`: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.appservice.inputs.LinuxFunctionAppSlotConnectionStringArgs = com.pulumi.azure.appservice.inputs.LinuxFunctionAppSlotConnectionStringArgs.builder()
        .name(name.applyValue({ args0 -> args0 }))
        .type(type.applyValue({ args0 -> args0 }))
        .`value`(`value`.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [LinuxFunctionAppSlotConnectionStringArgs].
 */
@PulumiTagMarker
public class LinuxFunctionAppSlotConnectionStringArgsBuilder internal constructor() {
    private var name: Output? = null

    private var type: Output? = null

    private var `value`: Output? = null

    /**
     * @param value The name which should be used for this Connection.
     */
    @JvmName("dqkpmqkwtkgpkhrr")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value Type of database. Possible values include: `APIHub`, `Custom`, `DocDb`, `EventHub`, `MySQL`, `NotificationHub`, `PostgreSQL`, `RedisCache`, `ServiceBus`, `SQLAzure`, and `SQLServer`.
     */
    @JvmName("xrneugymvicdgtci")
    public suspend fun type(`value`: Output) {
        this.type = value
    }

    /**
     * @param value The connection string value.
     */
    @JvmName("bxisothntrycipss")
    public suspend fun `value`(`value`: Output) {
        this.`value` = value
    }

    /**
     * @param value The name which should be used for this Connection.
     */
    @JvmName("dtscnyiwbdcjsald")
    public suspend fun name(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value Type of database. Possible values include: `APIHub`, `Custom`, `DocDb`, `EventHub`, `MySQL`, `NotificationHub`, `PostgreSQL`, `RedisCache`, `ServiceBus`, `SQLAzure`, and `SQLServer`.
     */
    @JvmName("tmehiqqdvllleofs")
    public suspend fun type(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.type = mapped
    }

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

    internal fun build(): LinuxFunctionAppSlotConnectionStringArgs =
        LinuxFunctionAppSlotConnectionStringArgs(
            name = name ?: throw PulumiNullFieldException("name"),
            type = type ?: throw PulumiNullFieldException("type"),
            `value` = `value` ?: throw PulumiNullFieldException("value"),
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy