com.pulumi.awsnative.kinesisanalyticsv2.kotlin.inputs.ApplicationSnapshotConfigurationArgs.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.ApplicationSnapshotConfigurationArgs.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 kotlin.Boolean
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Describes whether snapshots are enabled for a Flink-based Kinesis Data Analytics application.
* @property snapshotsEnabled Describes whether snapshots are enabled for a Flink-based Kinesis Data Analytics application.
*/
public data class ApplicationSnapshotConfigurationArgs(
public val snapshotsEnabled: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.kinesisanalyticsv2.inputs.ApplicationSnapshotConfigurationArgs =
com.pulumi.awsnative.kinesisanalyticsv2.inputs.ApplicationSnapshotConfigurationArgs.builder()
.snapshotsEnabled(snapshotsEnabled.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ApplicationSnapshotConfigurationArgs].
*/
@PulumiTagMarker
public class ApplicationSnapshotConfigurationArgsBuilder internal constructor() {
private var snapshotsEnabled: Output? = null
/**
* @param value Describes whether snapshots are enabled for a Flink-based Kinesis Data Analytics application.
*/
@JvmName("pvcoriwqloaotcmw")
public suspend fun snapshotsEnabled(`value`: Output) {
this.snapshotsEnabled = value
}
/**
* @param value Describes whether snapshots are enabled for a Flink-based Kinesis Data Analytics application.
*/
@JvmName("yoeqctyhwnthbfxy")
public suspend fun snapshotsEnabled(`value`: Boolean) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.snapshotsEnabled = mapped
}
internal fun build(): ApplicationSnapshotConfigurationArgs = ApplicationSnapshotConfigurationArgs(
snapshotsEnabled = snapshotsEnabled ?: throw PulumiNullFieldException("snapshotsEnabled"),
)
}