com.pulumi.gcp.integrationconnectors.kotlin.inputs.ConnectionDestinationConfigDestinationArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@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.ConnectionDestinationConfigDestinationArgs.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 ConnectionDestinationConfigDestinationArgs(
public val host: Output? = null,
public val port: Output? = null,
public val serviceAttachment: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.integrationconnectors.inputs.ConnectionDestinationConfigDestinationArgs =
com.pulumi.gcp.integrationconnectors.inputs.ConnectionDestinationConfigDestinationArgs.builder()
.host(host?.applyValue({ args0 -> args0 }))
.port(port?.applyValue({ args0 -> args0 }))
.serviceAttachment(serviceAttachment?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ConnectionDestinationConfigDestinationArgs].
*/
@PulumiTagMarker
public class ConnectionDestinationConfigDestinationArgsBuilder internal constructor() {
private var host: Output? = null
private var port: Output? = null
private var serviceAttachment: Output? = null
/**
* @param value Host
*/
@JvmName("ihedequpgfjysmpy")
public suspend fun host(`value`: Output) {
this.host = value
}
/**
* @param value port number
*/
@JvmName("inmgievkcqnkhcuh")
public suspend fun port(`value`: Output) {
this.port = value
}
/**
* @param value Service Attachment
*/
@JvmName("ndrojtsihtlvigsg")
public suspend fun serviceAttachment(`value`: Output) {
this.serviceAttachment = value
}
/**
* @param value Host
*/
@JvmName("woivwvtanhvqihhk")
public suspend fun host(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.host = mapped
}
/**
* @param value port number
*/
@JvmName("hstkjmyfrnfjkytf")
public suspend fun port(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.port = mapped
}
/**
* @param value Service Attachment
*/
@JvmName("bdkghumfhpebchww")
public suspend fun serviceAttachment(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.serviceAttachment = mapped
}
internal fun build(): ConnectionDestinationConfigDestinationArgs =
ConnectionDestinationConfigDestinationArgs(
host = host,
port = port,
serviceAttachment = serviceAttachment,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy