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

com.pulumi.azurenative.web.kotlin.inputs.ConnectionGatewayDefinitionPropertiesArgs.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: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.web.kotlin.inputs

import com.pulumi.azurenative.web.inputs.ConnectionGatewayDefinitionPropertiesArgs.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.Any
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property backendUri The URI of the backend
 * @property connectionGatewayInstallation The gateway installation reference
 * @property contactInformation The gateway admin
 * @property description The gateway description
 * @property displayName The gateway display name
 * @property machineName The machine name of the gateway
 * @property status The gateway status
 */
public data class ConnectionGatewayDefinitionPropertiesArgs(
    public val backendUri: Output? = null,
    public val connectionGatewayInstallation: Output? = null,
    public val contactInformation: Output>? = null,
    public val description: Output? = null,
    public val displayName: Output? = null,
    public val machineName: Output? = null,
    public val status: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.web.inputs.ConnectionGatewayDefinitionPropertiesArgs = com.pulumi.azurenative.web.inputs.ConnectionGatewayDefinitionPropertiesArgs.builder()
        .backendUri(backendUri?.applyValue({ args0 -> args0 }))
        .connectionGatewayInstallation(
            connectionGatewayInstallation?.applyValue({ args0 ->
                args0.let({ args0 -> args0.toJava() })
            }),
        )
        .contactInformation(contactInformation?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
        .description(description?.applyValue({ args0 -> args0 }))
        .displayName(displayName?.applyValue({ args0 -> args0 }))
        .machineName(machineName?.applyValue({ args0 -> args0 }))
        .status(status?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ConnectionGatewayDefinitionPropertiesArgs].
 */
@PulumiTagMarker
public class ConnectionGatewayDefinitionPropertiesArgsBuilder internal constructor() {
    private var backendUri: Output? = null

    private var connectionGatewayInstallation: Output? = null

    private var contactInformation: Output>? = null

    private var description: Output? = null

    private var displayName: Output? = null

    private var machineName: Output? = null

    private var status: Output? = null

    /**
     * @param value The URI of the backend
     */
    @JvmName("oraxlxilrxnlrfnq")
    public suspend fun backendUri(`value`: Output) {
        this.backendUri = value
    }

    /**
     * @param value The gateway installation reference
     */
    @JvmName("mgwfufavujnhpwjj")
    public suspend fun connectionGatewayInstallation(`value`: Output) {
        this.connectionGatewayInstallation = value
    }

    /**
     * @param value The gateway admin
     */
    @JvmName("kuwiomjuwqpvbvfs")
    public suspend fun contactInformation(`value`: Output>) {
        this.contactInformation = value
    }

    @JvmName("qxusxxviiltmfnld")
    public suspend fun contactInformation(vararg values: Output) {
        this.contactInformation = Output.all(values.asList())
    }

    /**
     * @param values The gateway admin
     */
    @JvmName("mlerfqppehrqndhw")
    public suspend fun contactInformation(values: List>) {
        this.contactInformation = Output.all(values)
    }

    /**
     * @param value The gateway description
     */
    @JvmName("ckwbsympyvjctwvi")
    public suspend fun description(`value`: Output) {
        this.description = value
    }

    /**
     * @param value The gateway display name
     */
    @JvmName("akmncvryjmjcbixt")
    public suspend fun displayName(`value`: Output) {
        this.displayName = value
    }

    /**
     * @param value The machine name of the gateway
     */
    @JvmName("brshhloxrosdjtoy")
    public suspend fun machineName(`value`: Output) {
        this.machineName = value
    }

    /**
     * @param value The gateway status
     */
    @JvmName("qfsaodwhlenydlxa")
    public suspend fun status(`value`: Output) {
        this.status = value
    }

    /**
     * @param value The URI of the backend
     */
    @JvmName("vweiiecklmaanhce")
    public suspend fun backendUri(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.backendUri = mapped
    }

    /**
     * @param value The gateway installation reference
     */
    @JvmName("ypcmfsiimemrjxgc")
    public suspend fun connectionGatewayInstallation(`value`: ConnectionGatewayReferenceArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.connectionGatewayInstallation = mapped
    }

    /**
     * @param argument The gateway installation reference
     */
    @JvmName("novinynktuflgaff")
    public suspend fun connectionGatewayInstallation(argument: suspend ConnectionGatewayReferenceArgsBuilder.() -> Unit) {
        val toBeMapped = ConnectionGatewayReferenceArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.connectionGatewayInstallation = mapped
    }

    /**
     * @param value The gateway admin
     */
    @JvmName("qrllrodthbnpmrjj")
    public suspend fun contactInformation(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.contactInformation = mapped
    }

    /**
     * @param values The gateway admin
     */
    @JvmName("rxrtjxilabwfemij")
    public suspend fun contactInformation(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.contactInformation = mapped
    }

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

    /**
     * @param value The gateway display name
     */
    @JvmName("jyhqhdbbluljqwhg")
    public suspend fun displayName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.displayName = mapped
    }

    /**
     * @param value The machine name of the gateway
     */
    @JvmName("yjhfnfhtlwdihwre")
    public suspend fun machineName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.machineName = mapped
    }

    /**
     * @param value The gateway status
     */
    @JvmName("blyhwernitoxmhgs")
    public suspend fun status(`value`: Any?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.status = mapped
    }

    internal fun build(): ConnectionGatewayDefinitionPropertiesArgs =
        ConnectionGatewayDefinitionPropertiesArgs(
            backendUri = backendUri,
            connectionGatewayInstallation = connectionGatewayInstallation,
            contactInformation = contactInformation,
            description = description,
            displayName = displayName,
            machineName = machineName,
            status = status,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy