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

com.pulumi.azure.media.kotlin.outputs.StreamingPolicyCommonEncryptionCencContentKeyToTrackMapping.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.media.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property label Specifies the content key when creating a Streaming Locator. Changing this forces a new Streaming Policy to be created.
 * @property policyName The policy used by the default key. Changing this forces a new Streaming Policy to be created.
 * @property tracks One or more `track` blocks as defined below. Changing this forces a new Streaming Policy to be created.
 */
public data class StreamingPolicyCommonEncryptionCencContentKeyToTrackMapping(
    public val label: String? = null,
    public val policyName: String? = null,
    public val tracks: List,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.media.outputs.StreamingPolicyCommonEncryptionCencContentKeyToTrackMapping): StreamingPolicyCommonEncryptionCencContentKeyToTrackMapping =
            StreamingPolicyCommonEncryptionCencContentKeyToTrackMapping(
                label = javaType.label().map({ args0 -> args0 }).orElse(null),
                policyName = javaType.policyName().map({ args0 -> args0 }).orElse(null),
                tracks = javaType.tracks().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.azure.media.kotlin.outputs.StreamingPolicyCommonEncryptionCencContentKeyToTrackMappingTrack.Companion.toKotlin(args0)
                    })
                }),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy