com.pulumi.gcp.pubsub.kotlin.inputs.TopicIngestionDataSourceSettingsArgs.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.pubsub.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.pubsub.inputs.TopicIngestionDataSourceSettingsArgs.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 awsKinesis Settings for ingestion from Amazon Kinesis Data Streams.
* Structure is documented below.
*/
public data class TopicIngestionDataSourceSettingsArgs(
public val awsKinesis: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.pubsub.inputs.TopicIngestionDataSourceSettingsArgs =
com.pulumi.gcp.pubsub.inputs.TopicIngestionDataSourceSettingsArgs.builder()
.awsKinesis(awsKinesis?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [TopicIngestionDataSourceSettingsArgs].
*/
@PulumiTagMarker
public class TopicIngestionDataSourceSettingsArgsBuilder internal constructor() {
private var awsKinesis: Output? = null
/**
* @param value Settings for ingestion from Amazon Kinesis Data Streams.
* Structure is documented below.
*/
@JvmName("yuchjfrpwxsexsyf")
public suspend fun awsKinesis(`value`: Output) {
this.awsKinesis = value
}
/**
* @param value Settings for ingestion from Amazon Kinesis Data Streams.
* Structure is documented below.
*/
@JvmName("uqikevfrjfernkfw")
public suspend fun awsKinesis(`value`: TopicIngestionDataSourceSettingsAwsKinesisArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.awsKinesis = mapped
}
/**
* @param argument Settings for ingestion from Amazon Kinesis Data Streams.
* Structure is documented below.
*/
@JvmName("tglcbxvutoswtlxa")
public suspend fun awsKinesis(argument: suspend TopicIngestionDataSourceSettingsAwsKinesisArgsBuilder.() -> Unit) {
val toBeMapped = TopicIngestionDataSourceSettingsAwsKinesisArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.awsKinesis = mapped
}
internal fun build(): TopicIngestionDataSourceSettingsArgs = TopicIngestionDataSourceSettingsArgs(
awsKinesis = awsKinesis,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy