com.pulumi.awsnative.mediapackage.kotlin.outputs.PackagingConfigurationMssPackage.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@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),
)
}
}