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

com.pulumi.azure.media.kotlin.inputs.StreamingPolicyNoEncryptionEnabledProtocolsArgs.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.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.media.kotlin.inputs

import com.pulumi.azure.media.inputs.StreamingPolicyNoEncryptionEnabledProtocolsArgs.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

/**
 *
 * @property dash Enable DASH protocol or not. Changing this forces a new Streaming Policy to be created.
 * @property download Enable Download protocol or not. Changing this forces a new Streaming Policy to be created.
 * @property hls Enable HLS protocol or not. Changing this forces a new Streaming Policy to be created.
 * @property smoothStreaming Enable SmoothStreaming protocol or not. Changing this forces a new Streaming Policy to be created.
 */
public data class StreamingPolicyNoEncryptionEnabledProtocolsArgs(
    public val dash: Output? = null,
    public val download: Output? = null,
    public val hls: Output? = null,
    public val smoothStreaming: Output? = null,
) : ConvertibleToJava {
    override fun toJava():
        com.pulumi.azure.media.inputs.StreamingPolicyNoEncryptionEnabledProtocolsArgs =
        com.pulumi.azure.media.inputs.StreamingPolicyNoEncryptionEnabledProtocolsArgs.builder()
            .dash(dash?.applyValue({ args0 -> args0 }))
            .download(download?.applyValue({ args0 -> args0 }))
            .hls(hls?.applyValue({ args0 -> args0 }))
            .smoothStreaming(smoothStreaming?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [StreamingPolicyNoEncryptionEnabledProtocolsArgs].
 */
@PulumiTagMarker
public class StreamingPolicyNoEncryptionEnabledProtocolsArgsBuilder internal constructor() {
    private var dash: Output? = null

    private var download: Output? = null

    private var hls: Output? = null

    private var smoothStreaming: Output? = null

    /**
     * @param value Enable DASH protocol or not. Changing this forces a new Streaming Policy to be created.
     */
    @JvmName("shpiasakgrdmcrwp")
    public suspend fun dash(`value`: Output) {
        this.dash = value
    }

    /**
     * @param value Enable Download protocol or not. Changing this forces a new Streaming Policy to be created.
     */
    @JvmName("dnoiajnpmdgyffef")
    public suspend fun download(`value`: Output) {
        this.download = value
    }

    /**
     * @param value Enable HLS protocol or not. Changing this forces a new Streaming Policy to be created.
     */
    @JvmName("fbwirewlflqxbuuh")
    public suspend fun hls(`value`: Output) {
        this.hls = value
    }

    /**
     * @param value Enable SmoothStreaming protocol or not. Changing this forces a new Streaming Policy to be created.
     */
    @JvmName("apfyrjuavwlduovr")
    public suspend fun smoothStreaming(`value`: Output) {
        this.smoothStreaming = value
    }

    /**
     * @param value Enable DASH protocol or not. Changing this forces a new Streaming Policy to be created.
     */
    @JvmName("iwsjkusrkcxpyrln")
    public suspend fun dash(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.dash = mapped
    }

    /**
     * @param value Enable Download protocol or not. Changing this forces a new Streaming Policy to be created.
     */
    @JvmName("hxyxnystjwcjlday")
    public suspend fun download(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.download = mapped
    }

    /**
     * @param value Enable HLS protocol or not. Changing this forces a new Streaming Policy to be created.
     */
    @JvmName("gdibnygxbclbbnif")
    public suspend fun hls(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.hls = mapped
    }

    /**
     * @param value Enable SmoothStreaming protocol or not. Changing this forces a new Streaming Policy to be created.
     */
    @JvmName("jueonfyyiwqybfmn")
    public suspend fun smoothStreaming(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.smoothStreaming = mapped
    }

    internal fun build(): StreamingPolicyNoEncryptionEnabledProtocolsArgs =
        StreamingPolicyNoEncryptionEnabledProtocolsArgs(
            dash = dash,
            download = download,
            hls = hls,
            smoothStreaming = smoothStreaming,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy