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

com.pulumi.awsnative.nimblestudio.kotlin.outputs.LaunchProfileStreamConfigurationSessionBackup.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 0.122.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.nimblestudio.kotlin.outputs

import com.pulumi.awsnative.nimblestudio.kotlin.enums.LaunchProfileSessionBackupMode
import kotlin.Double
import kotlin.Suppress

/**
 * 

Configures how streaming sessions are backed up when launched from this launch * profile.

* @property maxBackupsToRetain

The maximum number of backups that each streaming session created from this launch * profile can have.

* @property mode Specifies how artists sessions are backed up. * Configures backups for streaming sessions launched with this launch profile. The default value is `DEACTIVATED` , which means that backups are deactivated. To allow backups, set this value to `AUTOMATIC` . */ public data class LaunchProfileStreamConfigurationSessionBackup( public val maxBackupsToRetain: Double? = null, public val mode: LaunchProfileSessionBackupMode? = null, ) { public companion object { public fun toKotlin(javaType: com.pulumi.awsnative.nimblestudio.outputs.LaunchProfileStreamConfigurationSessionBackup): LaunchProfileStreamConfigurationSessionBackup = LaunchProfileStreamConfigurationSessionBackup( maxBackupsToRetain = javaType.maxBackupsToRetain().map({ args0 -> args0 }).orElse(null), mode = javaType.mode().map({ args0 -> args0.let({ args0 -> com.pulumi.awsnative.nimblestudio.kotlin.enums.LaunchProfileSessionBackupMode.Companion.toKotlin(args0) }) }).orElse(null), ) } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy