
com.pulumi.awsnative.nimblestudio.kotlin.inputs.LaunchProfileVolumeConfigurationArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.nimblestudio.kotlin.inputs
import com.pulumi.awsnative.nimblestudio.inputs.LaunchProfileVolumeConfigurationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Double
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Custom volume configuration for the root volumes that are attached to streaming
* sessions.
* This parameter is only allowed when sessionPersistenceMode
is
* ACTIVATED
.
* @property iops The number of I/O operations per second for the root volume that is attached to
* streaming session.
* @property size The size of the root volume that is attached to the streaming session. The root volume
* size is measured in GiBs.
* @property throughput The throughput to provision for the root volume that is attached to the streaming
* session. The throughput is measured in MiB/s.
*/
public data class LaunchProfileVolumeConfigurationArgs(
public val iops: Output? = null,
public val size: Output? = null,
public val throughput: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.nimblestudio.inputs.LaunchProfileVolumeConfigurationArgs =
com.pulumi.awsnative.nimblestudio.inputs.LaunchProfileVolumeConfigurationArgs.builder()
.iops(iops?.applyValue({ args0 -> args0 }))
.size(size?.applyValue({ args0 -> args0 }))
.throughput(throughput?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [LaunchProfileVolumeConfigurationArgs].
*/
@PulumiTagMarker
public class LaunchProfileVolumeConfigurationArgsBuilder internal constructor() {
private var iops: Output? = null
private var size: Output? = null
private var throughput: Output? = null
/**
* @param value The number of I/O operations per second for the root volume that is attached to
* streaming session.
*/
@JvmName("tkcykldmrnovljxq")
public suspend fun iops(`value`: Output) {
this.iops = value
}
/**
* @param value The size of the root volume that is attached to the streaming session. The root volume
* size is measured in GiBs.
*/
@JvmName("yqabqmabisoscede")
public suspend fun size(`value`: Output) {
this.size = value
}
/**
* @param value The throughput to provision for the root volume that is attached to the streaming
* session. The throughput is measured in MiB/s.
*/
@JvmName("hhkhwxbotokojawy")
public suspend fun throughput(`value`: Output) {
this.throughput = value
}
/**
* @param value The number of I/O operations per second for the root volume that is attached to
* streaming session.
*/
@JvmName("fvxufrodhbnfakdt")
public suspend fun iops(`value`: Double?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.iops = mapped
}
/**
* @param value The size of the root volume that is attached to the streaming session. The root volume
* size is measured in GiBs.
*/
@JvmName("ikcsmawapiqfhjht")
public suspend fun size(`value`: Double?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.size = mapped
}
/**
* @param value The throughput to provision for the root volume that is attached to the streaming
* session. The throughput is measured in MiB/s.
*/
@JvmName("diaexxulbhwhihee")
public suspend fun throughput(`value`: Double?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.throughput = mapped
}
internal fun build(): LaunchProfileVolumeConfigurationArgs = LaunchProfileVolumeConfigurationArgs(
iops = iops,
size = size,
throughput = throughput,
)
}