com.pulumi.aws.kinesis.kotlin.inputs.AnalyticsApplicationReferenceDataSourcesArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.kinesis.kotlin.inputs
import com.pulumi.aws.kinesis.inputs.AnalyticsApplicationReferenceDataSourcesArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
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 id The ARN of the Kinesis Analytics Application.
* @property s3 The S3 configuration for the reference data source. See S3 Reference below for more details.
* @property schema The Schema format of the data in the streaming source. See Source Schema below for more details.
* @property tableName The in-application Table Name.
*/
public data class AnalyticsApplicationReferenceDataSourcesArgs(
public val id: Output? = null,
public val s3: Output,
public val schema: Output,
public val tableName: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.kinesis.inputs.AnalyticsApplicationReferenceDataSourcesArgs = com.pulumi.aws.kinesis.inputs.AnalyticsApplicationReferenceDataSourcesArgs.builder()
.id(id?.applyValue({ args0 -> args0 }))
.s3(s3.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.schema(schema.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.tableName(tableName.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AnalyticsApplicationReferenceDataSourcesArgs].
*/
@PulumiTagMarker
public class AnalyticsApplicationReferenceDataSourcesArgsBuilder internal constructor() {
private var id: Output? = null
private var s3: Output? = null
private var schema: Output? = null
private var tableName: Output? = null
/**
* @param value The ARN of the Kinesis Analytics Application.
*/
@JvmName("vmxuyonfftlmmviq")
public suspend fun id(`value`: Output) {
this.id = value
}
/**
* @param value The S3 configuration for the reference data source. See S3 Reference below for more details.
*/
@JvmName("qdlhmmfdwlhnifvr")
public suspend fun s3(`value`: Output) {
this.s3 = value
}
/**
* @param value The Schema format of the data in the streaming source. See Source Schema below for more details.
*/
@JvmName("vohpooxxkyyklgvx")
public suspend fun schema(`value`: Output) {
this.schema = value
}
/**
* @param value The in-application Table Name.
*/
@JvmName("jthmbvkqkqcfmdqs")
public suspend fun tableName(`value`: Output) {
this.tableName = value
}
/**
* @param value The ARN of the Kinesis Analytics Application.
*/
@JvmName("likmectjfldyjaqp")
public suspend fun id(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.id = mapped
}
/**
* @param value The S3 configuration for the reference data source. See S3 Reference below for more details.
*/
@JvmName("urilotpejluwfwaa")
public suspend fun s3(`value`: AnalyticsApplicationReferenceDataSourcesS3Args) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.s3 = mapped
}
/**
* @param argument The S3 configuration for the reference data source. See S3 Reference below for more details.
*/
@JvmName("ffoqeacoliapoqop")
public suspend fun s3(argument: suspend AnalyticsApplicationReferenceDataSourcesS3ArgsBuilder.() -> Unit) {
val toBeMapped = AnalyticsApplicationReferenceDataSourcesS3ArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.s3 = mapped
}
/**
* @param value The Schema format of the data in the streaming source. See Source Schema below for more details.
*/
@JvmName("mkrgjaefosvxneht")
public suspend fun schema(`value`: AnalyticsApplicationReferenceDataSourcesSchemaArgs) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.schema = mapped
}
/**
* @param argument The Schema format of the data in the streaming source. See Source Schema below for more details.
*/
@JvmName("blmednmdsciwcevq")
public suspend fun schema(argument: suspend AnalyticsApplicationReferenceDataSourcesSchemaArgsBuilder.() -> Unit) {
val toBeMapped = AnalyticsApplicationReferenceDataSourcesSchemaArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.schema = mapped
}
/**
* @param value The in-application Table Name.
*/
@JvmName("kencpvmsuggucqeq")
public suspend fun tableName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.tableName = mapped
}
internal fun build(): AnalyticsApplicationReferenceDataSourcesArgs =
AnalyticsApplicationReferenceDataSourcesArgs(
id = id,
s3 = s3 ?: throw PulumiNullFieldException("s3"),
schema = schema ?: throw PulumiNullFieldException("schema"),
tableName = tableName ?: throw PulumiNullFieldException("tableName"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy