com.pulumi.aws.kinesisanalyticsv2.kotlin.inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceArgs.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.kinesisanalyticsv2.kotlin.inputs
import com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceArgs.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 referenceId
* @property referenceSchema Describes the format of the data in the streaming source, and how each data element maps to corresponding columns created in the in-application stream.
* @property s3ReferenceDataSource Identifies the S3 bucket and object that contains the reference data.
* @property tableName The name of the in-application table to create.
*/
public data class
ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceArgs(
public val referenceId: Output? = null,
public val referenceSchema: Output,
public val s3ReferenceDataSource: Output,
public val tableName: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceArgs =
com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceArgs.builder()
.referenceId(referenceId?.applyValue({ args0 -> args0 }))
.referenceSchema(referenceSchema.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.s3ReferenceDataSource(
s3ReferenceDataSource.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.tableName(tableName.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceArgs].
*/
@PulumiTagMarker
public class
ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceArgsBuilder
internal constructor() {
private var referenceId: Output? = null
private var referenceSchema:
Output? =
null
private var s3ReferenceDataSource:
Output? =
null
private var tableName: Output? = null
/**
* @param value
*/
@JvmName("kjoktsftjeyonagg")
public suspend fun referenceId(`value`: Output) {
this.referenceId = value
}
/**
* @param value Describes the format of the data in the streaming source, and how each data element maps to corresponding columns created in the in-application stream.
*/
@JvmName("gdmwvpxqtvemkooe")
public suspend fun referenceSchema(`value`: Output) {
this.referenceSchema = value
}
/**
* @param value Identifies the S3 bucket and object that contains the reference data.
*/
@JvmName("lmsvqswtcjqsgjqw")
public suspend fun s3ReferenceDataSource(`value`: Output) {
this.s3ReferenceDataSource = value
}
/**
* @param value The name of the in-application table to create.
*/
@JvmName("xafytoauhftjfjwt")
public suspend fun tableName(`value`: Output) {
this.tableName = value
}
/**
* @param value
*/
@JvmName("bkrkgctcqeqqvjda")
public suspend fun referenceId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.referenceId = mapped
}
/**
* @param value Describes the format of the data in the streaming source, and how each data element maps to corresponding columns created in the in-application stream.
*/
@JvmName("qbyihijtcngrfnlg")
public suspend fun referenceSchema(`value`: ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaArgs) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.referenceSchema = mapped
}
/**
* @param argument Describes the format of the data in the streaming source, and how each data element maps to corresponding columns created in the in-application stream.
*/
@JvmName("jkxlpkcspegpesnf")
public suspend fun referenceSchema(argument: suspend ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaArgsBuilder.() -> Unit) {
val toBeMapped =
ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.referenceSchema = mapped
}
/**
* @param value Identifies the S3 bucket and object that contains the reference data.
*/
@JvmName("qnrsmlybwubclatx")
public suspend fun s3ReferenceDataSource(`value`: ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceS3ReferenceDataSourceArgs) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.s3ReferenceDataSource = mapped
}
/**
* @param argument Identifies the S3 bucket and object that contains the reference data.
*/
@JvmName("xsbsrkddktnevvdv")
public suspend fun s3ReferenceDataSource(argument: suspend ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceS3ReferenceDataSourceArgsBuilder.() -> Unit) {
val toBeMapped =
ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceS3ReferenceDataSourceArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.s3ReferenceDataSource = mapped
}
/**
* @param value The name of the in-application table to create.
*/
@JvmName("heusjdqxiytnvqew")
public suspend fun tableName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.tableName = mapped
}
internal fun build(): ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceArgs =
ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceArgs(
referenceId = referenceId,
referenceSchema = referenceSchema ?: throw PulumiNullFieldException("referenceSchema"),
s3ReferenceDataSource = s3ReferenceDataSource ?: throw
PulumiNullFieldException("s3ReferenceDataSource"),
tableName = tableName ?: throw PulumiNullFieldException("tableName"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy