com.pulumi.gcp.diagflow.kotlin.inputs.CxAgentGitIntegrationSettingsArgs.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.CxAgentGitIntegrationSettingsArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property githubSettings Settings of integration with GitHub.
* Structure is documented below.
*/
public data class CxAgentGitIntegrationSettingsArgs(
public val githubSettings: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.diagflow.inputs.CxAgentGitIntegrationSettingsArgs =
com.pulumi.gcp.diagflow.inputs.CxAgentGitIntegrationSettingsArgs.builder()
.githubSettings(
githubSettings?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [CxAgentGitIntegrationSettingsArgs].
*/
@PulumiTagMarker
public class CxAgentGitIntegrationSettingsArgsBuilder internal constructor() {
private var githubSettings: Output? = null
/**
* @param value Settings of integration with GitHub.
* Structure is documented below.
*/
@JvmName("tsxiixprdlvjmjyp")
public suspend fun githubSettings(`value`: Output) {
this.githubSettings = value
}
/**
* @param value Settings of integration with GitHub.
* Structure is documented below.
*/
@JvmName("pgnhitprumudaubp")
public suspend fun githubSettings(`value`: CxAgentGitIntegrationSettingsGithubSettingsArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.githubSettings = mapped
}
/**
* @param argument Settings of integration with GitHub.
* Structure is documented below.
*/
@JvmName("wjvyjmkgpfjbnspl")
public suspend fun githubSettings(argument: suspend CxAgentGitIntegrationSettingsGithubSettingsArgsBuilder.() -> Unit) {
val toBeMapped = CxAgentGitIntegrationSettingsGithubSettingsArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.githubSettings = mapped
}
internal fun build(): CxAgentGitIntegrationSettingsArgs = CxAgentGitIntegrationSettingsArgs(
githubSettings = githubSettings,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy