com.pulumi.gcp.diagflow.kotlin.inputs.CxWebhookServiceDirectoryArgs.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.diagflow.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.diagflow.inputs.CxWebhookServiceDirectoryArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property genericWebService The name of Service Directory service.
* Structure is documented below.
* @property service The name of Service Directory service.
*/
public data class CxWebhookServiceDirectoryArgs(
public val genericWebService: Output,
public val service: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.diagflow.inputs.CxWebhookServiceDirectoryArgs =
com.pulumi.gcp.diagflow.inputs.CxWebhookServiceDirectoryArgs.builder()
.genericWebService(genericWebService.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.service(service.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [CxWebhookServiceDirectoryArgs].
*/
@PulumiTagMarker
public class CxWebhookServiceDirectoryArgsBuilder internal constructor() {
private var genericWebService: Output? = null
private var service: Output? = null
/**
* @param value The name of Service Directory service.
* Structure is documented below.
*/
@JvmName("ampqyrvlbigrdpdf")
public suspend fun genericWebService(`value`: Output) {
this.genericWebService = value
}
/**
* @param value The name of Service Directory service.
*/
@JvmName("efdwvewlugujdjxy")
public suspend fun service(`value`: Output) {
this.service = value
}
/**
* @param value The name of Service Directory service.
* Structure is documented below.
*/
@JvmName("dutfwxkrotkqivmd")
public suspend fun genericWebService(`value`: CxWebhookServiceDirectoryGenericWebServiceArgs) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.genericWebService = mapped
}
/**
* @param argument The name of Service Directory service.
* Structure is documented below.
*/
@JvmName("tehdsepsrmcffsrg")
public suspend fun genericWebService(argument: suspend CxWebhookServiceDirectoryGenericWebServiceArgsBuilder.() -> Unit) {
val toBeMapped = CxWebhookServiceDirectoryGenericWebServiceArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.genericWebService = mapped
}
/**
* @param value The name of Service Directory service.
*/
@JvmName("oiegnkscxmsdtgpj")
public suspend fun service(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.service = mapped
}
internal fun build(): CxWebhookServiceDirectoryArgs = CxWebhookServiceDirectoryArgs(
genericWebService = genericWebService ?: throw PulumiNullFieldException("genericWebService"),
service = service ?: throw PulumiNullFieldException("service"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy