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

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

package com.pulumi.azurenative.media.kotlin.inputs

import com.pulumi.azurenative.media.inputs.HlsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * HTTP Live Streaming (HLS) packing setting for the live output.
 * @property fragmentsPerTsSegment The number of fragments in an HTTP Live Streaming (HLS) TS segment in the output of the live event. This value does not affect the packing ratio for HLS CMAF output.
 */
public data class HlsArgs(
    public val fragmentsPerTsSegment: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.media.inputs.HlsArgs =
        com.pulumi.azurenative.media.inputs.HlsArgs.builder()
            .fragmentsPerTsSegment(fragmentsPerTsSegment?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [HlsArgs].
 */
@PulumiTagMarker
public class HlsArgsBuilder internal constructor() {
    private var fragmentsPerTsSegment: Output? = null

    /**
     * @param value The number of fragments in an HTTP Live Streaming (HLS) TS segment in the output of the live event. This value does not affect the packing ratio for HLS CMAF output.
     */
    @JvmName("ywqwhlmldiowlvhk")
    public suspend fun fragmentsPerTsSegment(`value`: Output) {
        this.fragmentsPerTsSegment = value
    }

    /**
     * @param value The number of fragments in an HTTP Live Streaming (HLS) TS segment in the output of the live event. This value does not affect the packing ratio for HLS CMAF output.
     */
    @JvmName("kkriolcdfggidpgl")
    public suspend fun fragmentsPerTsSegment(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.fragmentsPerTsSegment = mapped
    }

    internal fun build(): HlsArgs = HlsArgs(
        fragmentsPerTsSegment = fragmentsPerTsSegment,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy