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

com.pulumi.aws.appstream.kotlin.inputs.StackStreamingExperienceSettingsArgs.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: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.appstream.kotlin.inputs

import com.pulumi.aws.appstream.inputs.StackStreamingExperienceSettingsArgs.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 preferredProtocol The preferred protocol that you want to use while streaming your application.
 * Valid values are `TCP` and `UDP`.
 */
public data class StackStreamingExperienceSettingsArgs(
    public val preferredProtocol: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.appstream.inputs.StackStreamingExperienceSettingsArgs =
        com.pulumi.aws.appstream.inputs.StackStreamingExperienceSettingsArgs.builder()
            .preferredProtocol(preferredProtocol?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [StackStreamingExperienceSettingsArgs].
 */
@PulumiTagMarker
public class StackStreamingExperienceSettingsArgsBuilder internal constructor() {
    private var preferredProtocol: Output? = null

    /**
     * @param value The preferred protocol that you want to use while streaming your application.
     * Valid values are `TCP` and `UDP`.
     */
    @JvmName("wgvenfucjrwfcixs")
    public suspend fun preferredProtocol(`value`: Output) {
        this.preferredProtocol = value
    }

    /**
     * @param value The preferred protocol that you want to use while streaming your application.
     * Valid values are `TCP` and `UDP`.
     */
    @JvmName("xhvaqyludypcceuo")
    public suspend fun preferredProtocol(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.preferredProtocol = mapped
    }

    internal fun build(): StackStreamingExperienceSettingsArgs = StackStreamingExperienceSettingsArgs(
        preferredProtocol = preferredProtocol,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy