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

com.pulumi.awsnative.mediapackage.kotlin.outputs.PackagingConfigurationMssPackage.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.mediapackage.kotlin.outputs

import kotlin.Int
import kotlin.Suppress
import kotlin.collections.List

/**
 * A Microsoft Smooth Streaming (MSS) PackagingConfiguration.
 * @property encryption Parameters for encrypting content.
 * @property mssManifests A list of MSS manifest configurations.
 * @property segmentDurationSeconds Duration (in seconds) of each fragment. Actual fragments are rounded to the nearest multiple of the source fragment duration.
 */
public data class PackagingConfigurationMssPackage(
    public val encryption: PackagingConfigurationMssEncryption? = null,
    public val mssManifests: List,
    public val segmentDurationSeconds: Int? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.mediapackage.outputs.PackagingConfigurationMssPackage): PackagingConfigurationMssPackage = PackagingConfigurationMssPackage(
            encryption = javaType.encryption().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.mediapackage.kotlin.outputs.PackagingConfigurationMssEncryption.Companion.toKotlin(args0)
                })
            }).orElse(null),
            mssManifests = javaType.mssManifests().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.mediapackage.kotlin.outputs.PackagingConfigurationMssManifest.Companion.toKotlin(args0)
                })
            }),
            segmentDurationSeconds = javaType.segmentDurationSeconds().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy