
com.pulumi.awsnative.kinesisanalyticsv2.kotlin.inputs.ApplicationCodeContentArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.awsnative.kinesisanalyticsv2.kotlin.inputs
import com.pulumi.awsnative.kinesisanalyticsv2.inputs.ApplicationCodeContentArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
* Specifies either the application code, or the location of the application code, for a Flink-based Kinesis Data Analytics application.
* @property s3ContentLocation Information about the Amazon S3 bucket that contains the application code.
* @property textContent The text-format code for a Flink-based Kinesis Data Analytics application.
* @property zipFileContent The zip-format code for a Flink-based Kinesis Data Analytics application.
*/
public data class ApplicationCodeContentArgs(
public val s3ContentLocation: Output? = null,
public val textContent: Output? = null,
public val zipFileContent: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.kinesisanalyticsv2.inputs.ApplicationCodeContentArgs =
com.pulumi.awsnative.kinesisanalyticsv2.inputs.ApplicationCodeContentArgs.builder()
.s3ContentLocation(s3ContentLocation?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.textContent(textContent?.applyValue({ args0 -> args0 }))
.zipFileContent(zipFileContent?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ApplicationCodeContentArgs].
*/
@PulumiTagMarker
public class ApplicationCodeContentArgsBuilder internal constructor() {
private var s3ContentLocation: Output? = null
private var textContent: Output? = null
private var zipFileContent: Output? = null
/**
* @param value Information about the Amazon S3 bucket that contains the application code.
*/
@JvmName("jyfbhmjnrymcdhyt")
public suspend fun s3ContentLocation(`value`: Output) {
this.s3ContentLocation = value
}
/**
* @param value The text-format code for a Flink-based Kinesis Data Analytics application.
*/
@JvmName("ttdogiwunxdjdneo")
public suspend fun textContent(`value`: Output) {
this.textContent = value
}
/**
* @param value The zip-format code for a Flink-based Kinesis Data Analytics application.
*/
@JvmName("vebtisobmtsnegbl")
public suspend fun zipFileContent(`value`: Output) {
this.zipFileContent = value
}
/**
* @param value Information about the Amazon S3 bucket that contains the application code.
*/
@JvmName("tnhcmgxktwktsqdo")
public suspend fun s3ContentLocation(`value`: ApplicationS3ContentLocationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.s3ContentLocation = mapped
}
/**
* @param argument Information about the Amazon S3 bucket that contains the application code.
*/
@JvmName("gdwdyfumagrmteka")
public suspend fun s3ContentLocation(argument: suspend ApplicationS3ContentLocationArgsBuilder.() -> Unit) {
val toBeMapped = ApplicationS3ContentLocationArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.s3ContentLocation = mapped
}
/**
* @param value The text-format code for a Flink-based Kinesis Data Analytics application.
*/
@JvmName("tgrnvlqgctxpwupn")
public suspend fun textContent(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.textContent = mapped
}
/**
* @param value The zip-format code for a Flink-based Kinesis Data Analytics application.
*/
@JvmName("cnrpqawkimhoxlbx")
public suspend fun zipFileContent(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.zipFileContent = mapped
}
internal fun build(): ApplicationCodeContentArgs = ApplicationCodeContentArgs(
s3ContentLocation = s3ContentLocation,
textContent = textContent,
zipFileContent = zipFileContent,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy