
com.pulumi.azure.media.kotlin.inputs.StreamingPolicyCommonEncryptionCencContentKeyToTrackMappingArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.media.kotlin.inputs
import com.pulumi.azure.media.inputs.StreamingPolicyCommonEncryptionCencContentKeyToTrackMappingArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @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 StreamingPolicyCommonEncryptionCencContentKeyToTrackMappingArgs(
public val label: Output? = null,
public val policyName: Output? = null,
public val tracks: Output>,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azure.media.inputs.StreamingPolicyCommonEncryptionCencContentKeyToTrackMappingArgs =
com.pulumi.azure.media.inputs.StreamingPolicyCommonEncryptionCencContentKeyToTrackMappingArgs.builder()
.label(label?.applyValue({ args0 -> args0 }))
.policyName(policyName?.applyValue({ args0 -> args0 }))
.tracks(
tracks.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [StreamingPolicyCommonEncryptionCencContentKeyToTrackMappingArgs].
*/
@PulumiTagMarker
public class StreamingPolicyCommonEncryptionCencContentKeyToTrackMappingArgsBuilder internal constructor() {
private var label: Output? = null
private var policyName: Output? = null
private var tracks:
Output>? = null
/**
* @param value Specifies the content key when creating a Streaming Locator. Changing this forces a new Streaming Policy to be created.
*/
@JvmName("ikkjeaanwsnkuglc")
public suspend fun label(`value`: Output) {
this.label = value
}
/**
* @param value The policy used by the default key. Changing this forces a new Streaming Policy to be created.
*/
@JvmName("cnxatrxeumanlxby")
public suspend fun policyName(`value`: Output) {
this.policyName = value
}
/**
* @param value One or more `track` blocks as defined below. Changing this forces a new Streaming Policy to be created.
*/
@JvmName("mrbpgxvikjdfakqj")
public suspend fun tracks(`value`: Output>) {
this.tracks = value
}
@JvmName("rdddlhopnbxvqcul")
public suspend fun tracks(vararg values: Output) {
this.tracks = Output.all(values.asList())
}
/**
* @param values One or more `track` blocks as defined below. Changing this forces a new Streaming Policy to be created.
*/
@JvmName("fptxvqdkyaylpvoy")
public suspend fun tracks(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy