com.pulumi.gcp.cloudasset.kotlin.inputs.OrganizationFeedFeedOutputConfigArgs.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.cloudasset.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.cloudasset.inputs.OrganizationFeedFeedOutputConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property pubsubDestination Destination on Cloud Pubsub.
* Structure is documented below.
*/
public data class OrganizationFeedFeedOutputConfigArgs(
public val pubsubDestination: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.cloudasset.inputs.OrganizationFeedFeedOutputConfigArgs =
com.pulumi.gcp.cloudasset.inputs.OrganizationFeedFeedOutputConfigArgs.builder()
.pubsubDestination(
pubsubDestination.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [OrganizationFeedFeedOutputConfigArgs].
*/
@PulumiTagMarker
public class OrganizationFeedFeedOutputConfigArgsBuilder internal constructor() {
private var pubsubDestination: Output? =
null
/**
* @param value Destination on Cloud Pubsub.
* Structure is documented below.
*/
@JvmName("frqeaddxpcomcohw")
public suspend fun pubsubDestination(`value`: Output) {
this.pubsubDestination = value
}
/**
* @param value Destination on Cloud Pubsub.
* Structure is documented below.
*/
@JvmName("jidpmbrssykjcdkx")
public suspend fun pubsubDestination(`value`: OrganizationFeedFeedOutputConfigPubsubDestinationArgs) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.pubsubDestination = mapped
}
/**
* @param argument Destination on Cloud Pubsub.
* Structure is documented below.
*/
@JvmName("syicantljhnbwubb")
public suspend fun pubsubDestination(argument: suspend OrganizationFeedFeedOutputConfigPubsubDestinationArgsBuilder.() -> Unit) {
val toBeMapped = OrganizationFeedFeedOutputConfigPubsubDestinationArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.pubsubDestination = mapped
}
internal fun build(): OrganizationFeedFeedOutputConfigArgs = OrganizationFeedFeedOutputConfigArgs(
pubsubDestination = pubsubDestination ?: throw PulumiNullFieldException("pubsubDestination"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy