com.pulumi.aws.kinesisanalyticsv2.kotlin.inputs.ApplicationApplicationConfigurationArgs.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.ApplicationApplicationConfigurationArgs.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.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property applicationCodeConfiguration The code location and type parameters for the application.
* @property applicationSnapshotConfiguration Describes whether snapshots are enabled for a Flink-based application.
* @property environmentProperties Describes execution properties for a Flink-based application.
* @property flinkApplicationConfiguration The configuration of a Flink-based application.
* @property runConfiguration Describes the starting properties for a Flink-based application.
* @property sqlApplicationConfiguration The configuration of a SQL-based application.
* @property vpcConfiguration The VPC configuration of a Flink-based application.
*/
public data class ApplicationApplicationConfigurationArgs(
public val applicationCodeConfiguration: Output,
public val applicationSnapshotConfiguration: Output? = null,
public val environmentProperties: Output? = null,
public val flinkApplicationConfiguration: Output? = null,
public val runConfiguration: Output? =
null,
public val sqlApplicationConfiguration: Output? = null,
public val vpcConfiguration: Output? =
null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationArgs =
com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationArgs.builder()
.applicationCodeConfiguration(
applicationCodeConfiguration.applyValue({ args0 ->
args0.let({ args0 -> args0.toJava() })
}),
)
.applicationSnapshotConfiguration(
applicationSnapshotConfiguration?.applyValue({ args0 ->
args0.let({ args0 -> args0.toJava() })
}),
)
.environmentProperties(
environmentProperties?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.flinkApplicationConfiguration(
flinkApplicationConfiguration?.applyValue({ args0 ->
args0.let({ args0 -> args0.toJava() })
}),
)
.runConfiguration(runConfiguration?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.sqlApplicationConfiguration(
sqlApplicationConfiguration?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.vpcConfiguration(
vpcConfiguration?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [ApplicationApplicationConfigurationArgs].
*/
@PulumiTagMarker
public class ApplicationApplicationConfigurationArgsBuilder internal constructor() {
private var applicationCodeConfiguration:
Output? = null
private var applicationSnapshotConfiguration:
Output? = null
private var environmentProperties:
Output? = null
private var flinkApplicationConfiguration:
Output? = null
private var runConfiguration: Output? =
null
private var sqlApplicationConfiguration:
Output? = null
private var vpcConfiguration: Output? =
null
/**
* @param value The code location and type parameters for the application.
*/
@JvmName("ygmsglajietttukx")
public suspend fun applicationCodeConfiguration(`value`: Output) {
this.applicationCodeConfiguration = value
}
/**
* @param value Describes whether snapshots are enabled for a Flink-based application.
*/
@JvmName("yfkgoukrchssqijc")
public suspend fun applicationSnapshotConfiguration(`value`: Output) {
this.applicationSnapshotConfiguration = value
}
/**
* @param value Describes execution properties for a Flink-based application.
*/
@JvmName("ptigvikrwblubcvt")
public suspend fun environmentProperties(`value`: Output) {
this.environmentProperties = value
}
/**
* @param value The configuration of a Flink-based application.
*/
@JvmName("csfnwdcpauxflwnh")
public suspend fun flinkApplicationConfiguration(`value`: Output) {
this.flinkApplicationConfiguration = value
}
/**
* @param value Describes the starting properties for a Flink-based application.
*/
@JvmName("lnpqgxasixivjmvm")
public suspend fun runConfiguration(`value`: Output) {
this.runConfiguration = value
}
/**
* @param value The configuration of a SQL-based application.
*/
@JvmName("hftvetmmrcqpjhfd")
public suspend fun sqlApplicationConfiguration(`value`: Output) {
this.sqlApplicationConfiguration = value
}
/**
* @param value The VPC configuration of a Flink-based application.
*/
@JvmName("whlhbuddpxwfcvfi")
public suspend fun vpcConfiguration(`value`: Output) {
this.vpcConfiguration = value
}
/**
* @param value The code location and type parameters for the application.
*/
@JvmName("ewrkforwgklleavw")
public suspend fun applicationCodeConfiguration(`value`: ApplicationApplicationConfigurationApplicationCodeConfigurationArgs) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.applicationCodeConfiguration = mapped
}
/**
* @param argument The code location and type parameters for the application.
*/
@JvmName("bjpefhunjojemnkw")
public suspend fun applicationCodeConfiguration(argument: suspend ApplicationApplicationConfigurationApplicationCodeConfigurationArgsBuilder.() -> Unit) {
val toBeMapped =
ApplicationApplicationConfigurationApplicationCodeConfigurationArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.applicationCodeConfiguration = mapped
}
/**
* @param value Describes whether snapshots are enabled for a Flink-based application.
*/
@JvmName("adqesyjjwimxehys")
public suspend fun applicationSnapshotConfiguration(`value`: ApplicationApplicationConfigurationApplicationSnapshotConfigurationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.applicationSnapshotConfiguration = mapped
}
/**
* @param argument Describes whether snapshots are enabled for a Flink-based application.
*/
@JvmName("nxdxcrktakiqnggw")
public suspend fun applicationSnapshotConfiguration(argument: suspend ApplicationApplicationConfigurationApplicationSnapshotConfigurationArgsBuilder.() -> Unit) {
val toBeMapped =
ApplicationApplicationConfigurationApplicationSnapshotConfigurationArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.applicationSnapshotConfiguration = mapped
}
/**
* @param value Describes execution properties for a Flink-based application.
*/
@JvmName("npvhtlhacvhcvgfr")
public suspend fun environmentProperties(`value`: ApplicationApplicationConfigurationEnvironmentPropertiesArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.environmentProperties = mapped
}
/**
* @param argument Describes execution properties for a Flink-based application.
*/
@JvmName("rsecirctsttcxfsa")
public suspend fun environmentProperties(argument: suspend ApplicationApplicationConfigurationEnvironmentPropertiesArgsBuilder.() -> Unit) {
val toBeMapped =
ApplicationApplicationConfigurationEnvironmentPropertiesArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.environmentProperties = mapped
}
/**
* @param value The configuration of a Flink-based application.
*/
@JvmName("tcipjuvmyxniftwt")
public suspend fun flinkApplicationConfiguration(`value`: ApplicationApplicationConfigurationFlinkApplicationConfigurationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.flinkApplicationConfiguration = mapped
}
/**
* @param argument The configuration of a Flink-based application.
*/
@JvmName("vsmaurlkmpvcidue")
public suspend fun flinkApplicationConfiguration(argument: suspend ApplicationApplicationConfigurationFlinkApplicationConfigurationArgsBuilder.() -> Unit) {
val toBeMapped =
ApplicationApplicationConfigurationFlinkApplicationConfigurationArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.flinkApplicationConfiguration = mapped
}
/**
* @param value Describes the starting properties for a Flink-based application.
*/
@JvmName("xcxfcefjkfxukwoo")
public suspend fun runConfiguration(`value`: ApplicationApplicationConfigurationRunConfigurationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.runConfiguration = mapped
}
/**
* @param argument Describes the starting properties for a Flink-based application.
*/
@JvmName("couqswewhupvxgtc")
public suspend fun runConfiguration(argument: suspend ApplicationApplicationConfigurationRunConfigurationArgsBuilder.() -> Unit) {
val toBeMapped = ApplicationApplicationConfigurationRunConfigurationArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.runConfiguration = mapped
}
/**
* @param value The configuration of a SQL-based application.
*/
@JvmName("nqtmteolhwwuifmi")
public suspend fun sqlApplicationConfiguration(`value`: ApplicationApplicationConfigurationSqlApplicationConfigurationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.sqlApplicationConfiguration = mapped
}
/**
* @param argument The configuration of a SQL-based application.
*/
@JvmName("aeahullwqwcyregh")
public suspend fun sqlApplicationConfiguration(argument: suspend ApplicationApplicationConfigurationSqlApplicationConfigurationArgsBuilder.() -> Unit) {
val toBeMapped =
ApplicationApplicationConfigurationSqlApplicationConfigurationArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.sqlApplicationConfiguration = mapped
}
/**
* @param value The VPC configuration of a Flink-based application.
*/
@JvmName("ublbcqoprkppvnan")
public suspend fun vpcConfiguration(`value`: ApplicationApplicationConfigurationVpcConfigurationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.vpcConfiguration = mapped
}
/**
* @param argument The VPC configuration of a Flink-based application.
*/
@JvmName("gbnamegcovbrivkp")
public suspend fun vpcConfiguration(argument: suspend ApplicationApplicationConfigurationVpcConfigurationArgsBuilder.() -> Unit) {
val toBeMapped = ApplicationApplicationConfigurationVpcConfigurationArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.vpcConfiguration = mapped
}
internal fun build(): ApplicationApplicationConfigurationArgs =
ApplicationApplicationConfigurationArgs(
applicationCodeConfiguration = applicationCodeConfiguration ?: throw
PulumiNullFieldException("applicationCodeConfiguration"),
applicationSnapshotConfiguration = applicationSnapshotConfiguration,
environmentProperties = environmentProperties,
flinkApplicationConfiguration = flinkApplicationConfiguration,
runConfiguration = runConfiguration,
sqlApplicationConfiguration = sqlApplicationConfiguration,
vpcConfiguration = vpcConfiguration,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy