com.pulumi.azure.media.kotlin.inputs.StreamingPolicyCommonEncryptionCencClearKeyEncryptionArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.media.kotlin.inputs
import com.pulumi.azure.media.inputs.StreamingPolicyCommonEncryptionCencClearKeyEncryptionArgs.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 kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property customKeysAcquisitionUrlTemplate The URL template for the custom service that delivers content keys to the end user. This is not required when using Azure Media Services for issuing keys. Changing this forces a new Streaming Policy to be created.
* > **Note** Either `clear_key_encryption` or `drm` must be specified.
*/
public data class StreamingPolicyCommonEncryptionCencClearKeyEncryptionArgs(
public val customKeysAcquisitionUrlTemplate: Output,
) :
ConvertibleToJava {
override fun toJava():
com.pulumi.azure.media.inputs.StreamingPolicyCommonEncryptionCencClearKeyEncryptionArgs =
com.pulumi.azure.media.inputs.StreamingPolicyCommonEncryptionCencClearKeyEncryptionArgs.builder()
.customKeysAcquisitionUrlTemplate(
customKeysAcquisitionUrlTemplate.applyValue({ args0 ->
args0
}),
).build()
}
/**
* Builder for [StreamingPolicyCommonEncryptionCencClearKeyEncryptionArgs].
*/
@PulumiTagMarker
public class StreamingPolicyCommonEncryptionCencClearKeyEncryptionArgsBuilder internal constructor() {
private var customKeysAcquisitionUrlTemplate: Output? = null
/**
* @param value The URL template for the custom service that delivers content keys to the end user. This is not required when using Azure Media Services for issuing keys. Changing this forces a new Streaming Policy to be created.
* > **Note** Either `clear_key_encryption` or `drm` must be specified.
*/
@JvmName("akplwqdhltqlhwrw")
public suspend fun customKeysAcquisitionUrlTemplate(`value`: Output) {
this.customKeysAcquisitionUrlTemplate = value
}
/**
* @param value The URL template for the custom service that delivers content keys to the end user. This is not required when using Azure Media Services for issuing keys. Changing this forces a new Streaming Policy to be created.
* > **Note** Either `clear_key_encryption` or `drm` must be specified.
*/
@JvmName("oqpytcqufckvcvdm")
public suspend fun customKeysAcquisitionUrlTemplate(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.customKeysAcquisitionUrlTemplate = mapped
}
internal fun build(): StreamingPolicyCommonEncryptionCencClearKeyEncryptionArgs =
StreamingPolicyCommonEncryptionCencClearKeyEncryptionArgs(
customKeysAcquisitionUrlTemplate = customKeysAcquisitionUrlTemplate ?: throw
PulumiNullFieldException("customKeysAcquisitionUrlTemplate"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy