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

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

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

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

import com.pulumi.azure.appservice.inputs.WindowsFunctionAppSlotConnectionStringArgs.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 WindowsFunctionAppSlotConnectionStringArgs(
    public val name: Output,
    public val type: Output,
    public val `value`: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.appservice.inputs.WindowsFunctionAppSlotConnectionStringArgs =
        com.pulumi.azure.appservice.inputs.WindowsFunctionAppSlotConnectionStringArgs.builder()
            .name(name.applyValue({ args0 -> args0 }))
            .type(type.applyValue({ args0 -> args0 }))
            .`value`(`value`.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [WindowsFunctionAppSlotConnectionStringArgs].
 */
@PulumiTagMarker
public class WindowsFunctionAppSlotConnectionStringArgsBuilder 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("lxdxklcnkqpxdtdy")
    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("wgqexxmwmcyqojxd")
    public suspend fun type(`value`: Output) {
        this.type = value
    }

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

    /**
     * @param value The name which should be used for this Connection.
     */
    @JvmName("bfdlardifacpjrmh")
    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("devgpmermnerlplv")
    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("gdyqjybqvpfkjade")
    public suspend fun `value`(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.`value` = mapped
    }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy