All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.kinesisanalyticsv2.kotlin.inputs.ApplicationFlinkRunConfigurationArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.kinesisanalyticsv2.kotlin.inputs

import com.pulumi.awsnative.kinesisanalyticsv2.inputs.ApplicationFlinkRunConfigurationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * Describes the starting parameters for a Flink-based Kinesis Data Analytics application.
 * @property allowNonRestoredState When restoring from a snapshot, specifies whether the runtime is allowed to skip a state that cannot be mapped to the new program. Defaults to false. If you update your application without specifying this parameter, AllowNonRestoredState will be set to false, even if it was previously set to true.
 */
public data class ApplicationFlinkRunConfigurationArgs(
    public val allowNonRestoredState: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.kinesisanalyticsv2.inputs.ApplicationFlinkRunConfigurationArgs =
        com.pulumi.awsnative.kinesisanalyticsv2.inputs.ApplicationFlinkRunConfigurationArgs.builder()
            .allowNonRestoredState(allowNonRestoredState?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ApplicationFlinkRunConfigurationArgs].
 */
@PulumiTagMarker
public class ApplicationFlinkRunConfigurationArgsBuilder internal constructor() {
    private var allowNonRestoredState: Output? = null

    /**
     * @param value When restoring from a snapshot, specifies whether the runtime is allowed to skip a state that cannot be mapped to the new program. Defaults to false. If you update your application without specifying this parameter, AllowNonRestoredState will be set to false, even if it was previously set to true.
     */
    @JvmName("krdgtxtijljjpixn")
    public suspend fun allowNonRestoredState(`value`: Output) {
        this.allowNonRestoredState = value
    }

    /**
     * @param value When restoring from a snapshot, specifies whether the runtime is allowed to skip a state that cannot be mapped to the new program. Defaults to false. If you update your application without specifying this parameter, AllowNonRestoredState will be set to false, even if it was previously set to true.
     */
    @JvmName("hjqatdxjrnqmmhdm")
    public suspend fun allowNonRestoredState(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.allowNonRestoredState = mapped
    }

    internal fun build(): ApplicationFlinkRunConfigurationArgs = ApplicationFlinkRunConfigurationArgs(
        allowNonRestoredState = allowNonRestoredState,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy