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

com.pulumi.gcp.integrationconnectors.kotlin.inputs.ConnectionEventingConfigRegistrationDestinationConfigDestinationArgs.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: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.integrationconnectors.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.integrationconnectors.inputs.ConnectionEventingConfigRegistrationDestinationConfigDestinationArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property host Host
 * @property port port number
 * @property serviceAttachment Service Attachment
 */
public data class ConnectionEventingConfigRegistrationDestinationConfigDestinationArgs(
    public val host: Output? = null,
    public val port: Output? = null,
    public val serviceAttachment: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.integrationconnectors.inputs.ConnectionEventingConfigRegistrationDestinationConfigDestinationArgs =
        com.pulumi.gcp.integrationconnectors.inputs.ConnectionEventingConfigRegistrationDestinationConfigDestinationArgs.builder()
            .host(host?.applyValue({ args0 -> args0 }))
            .port(port?.applyValue({ args0 -> args0 }))
            .serviceAttachment(serviceAttachment?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ConnectionEventingConfigRegistrationDestinationConfigDestinationArgs].
 */
@PulumiTagMarker
public class ConnectionEventingConfigRegistrationDestinationConfigDestinationArgsBuilder internal constructor() {
    private var host: Output? = null

    private var port: Output? = null

    private var serviceAttachment: Output? = null

    /**
     * @param value Host
     */
    @JvmName("yhlratuxjyukjmcr")
    public suspend fun host(`value`: Output) {
        this.host = value
    }

    /**
     * @param value port number
     */
    @JvmName("fwxxgcdcqsydorpf")
    public suspend fun port(`value`: Output) {
        this.port = value
    }

    /**
     * @param value Service Attachment
     */
    @JvmName("nhrsgeroatpksoeq")
    public suspend fun serviceAttachment(`value`: Output) {
        this.serviceAttachment = value
    }

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

    /**
     * @param value port number
     */
    @JvmName("egakikxiyhvjgufl")
    public suspend fun port(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.port = mapped
    }

    /**
     * @param value Service Attachment
     */
    @JvmName("vdwvueniijewmkmv")
    public suspend fun serviceAttachment(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.serviceAttachment = mapped
    }

    internal fun build(): ConnectionEventingConfigRegistrationDestinationConfigDestinationArgs =
        ConnectionEventingConfigRegistrationDestinationConfigDestinationArgs(
            host = host,
            port = port,
            serviceAttachment = serviceAttachment,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy