com.pulumi.aws.kinesisanalyticsv2.kotlin.inputs.ApplicationApplicationConfigurationRunConfigurationApplicationRestoreConfigurationArgs.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.ApplicationApplicationConfigurationRunConfigurationApplicationRestoreConfigurationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property applicationRestoreType Specifies how the application should be restored. Valid values: `RESTORE_FROM_CUSTOM_SNAPSHOT`, `RESTORE_FROM_LATEST_SNAPSHOT`, `SKIP_RESTORE_FROM_SNAPSHOT`.
* @property snapshotName The identifier of an existing snapshot of application state to use to restart an application. The application uses this value if `RESTORE_FROM_CUSTOM_SNAPSHOT` is specified for `application_restore_type`.
*/
public data class
ApplicationApplicationConfigurationRunConfigurationApplicationRestoreConfigurationArgs(
public val applicationRestoreType: Output? = null,
public val snapshotName: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationRunConfigurationApplicationRestoreConfigurationArgs =
com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationRunConfigurationApplicationRestoreConfigurationArgs.builder()
.applicationRestoreType(applicationRestoreType?.applyValue({ args0 -> args0 }))
.snapshotName(snapshotName?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ApplicationApplicationConfigurationRunConfigurationApplicationRestoreConfigurationArgs].
*/
@PulumiTagMarker
public class
ApplicationApplicationConfigurationRunConfigurationApplicationRestoreConfigurationArgsBuilder
internal constructor() {
private var applicationRestoreType: Output? = null
private var snapshotName: Output? = null
/**
* @param value Specifies how the application should be restored. Valid values: `RESTORE_FROM_CUSTOM_SNAPSHOT`, `RESTORE_FROM_LATEST_SNAPSHOT`, `SKIP_RESTORE_FROM_SNAPSHOT`.
*/
@JvmName("miwaspfypwlvmdqx")
public suspend fun applicationRestoreType(`value`: Output) {
this.applicationRestoreType = value
}
/**
* @param value The identifier of an existing snapshot of application state to use to restart an application. The application uses this value if `RESTORE_FROM_CUSTOM_SNAPSHOT` is specified for `application_restore_type`.
*/
@JvmName("nllhwuevkykxcjnt")
public suspend fun snapshotName(`value`: Output) {
this.snapshotName = value
}
/**
* @param value Specifies how the application should be restored. Valid values: `RESTORE_FROM_CUSTOM_SNAPSHOT`, `RESTORE_FROM_LATEST_SNAPSHOT`, `SKIP_RESTORE_FROM_SNAPSHOT`.
*/
@JvmName("rljblhnhieruumtu")
public suspend fun applicationRestoreType(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.applicationRestoreType = mapped
}
/**
* @param value The identifier of an existing snapshot of application state to use to restart an application. The application uses this value if `RESTORE_FROM_CUSTOM_SNAPSHOT` is specified for `application_restore_type`.
*/
@JvmName("awkqtieuohfxtyie")
public suspend fun snapshotName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.snapshotName = mapped
}
internal fun build(): ApplicationApplicationConfigurationRunConfigurationApplicationRestoreConfigurationArgs =
ApplicationApplicationConfigurationRunConfigurationApplicationRestoreConfigurationArgs(
applicationRestoreType = applicationRestoreType,
snapshotName = snapshotName,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy