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

com.pulumi.azure.media.kotlin.inputs.StreamingPolicyCommonEncryptionCencDrmPlayreadyArgs.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: 6.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.media.kotlin.inputs

import com.pulumi.azure.media.inputs.StreamingPolicyCommonEncryptionCencDrmPlayreadyArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property customAttributes Custom attributes for PlayReady. Changing this forces a new Streaming Policy to be created.
 * @property customLicenseAcquisitionUrlTemplate The URL template for the custom service that delivers licenses to the end user. This is not required when using Azure Media Services for issuing licenses. Changing this forces a new Streaming Policy to be created.
 */
public data class StreamingPolicyCommonEncryptionCencDrmPlayreadyArgs(
    public val customAttributes: Output? = null,
    public val customLicenseAcquisitionUrlTemplate: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.media.inputs.StreamingPolicyCommonEncryptionCencDrmPlayreadyArgs =
        com.pulumi.azure.media.inputs.StreamingPolicyCommonEncryptionCencDrmPlayreadyArgs.builder()
            .customAttributes(customAttributes?.applyValue({ args0 -> args0 }))
            .customLicenseAcquisitionUrlTemplate(
                customLicenseAcquisitionUrlTemplate?.applyValue({ args0 ->
                    args0
                }),
            ).build()
}

/**
 * Builder for [StreamingPolicyCommonEncryptionCencDrmPlayreadyArgs].
 */
@PulumiTagMarker
public class StreamingPolicyCommonEncryptionCencDrmPlayreadyArgsBuilder internal constructor() {
    private var customAttributes: Output? = null

    private var customLicenseAcquisitionUrlTemplate: Output? = null

    /**
     * @param value Custom attributes for PlayReady. Changing this forces a new Streaming Policy to be created.
     */
    @JvmName("dkkdisymvclcicty")
    public suspend fun customAttributes(`value`: Output) {
        this.customAttributes = value
    }

    /**
     * @param value The URL template for the custom service that delivers licenses to the end user. This is not required when using Azure Media Services for issuing licenses. Changing this forces a new Streaming Policy to be created.
     */
    @JvmName("ohgkromjyefjgbbb")
    public suspend fun customLicenseAcquisitionUrlTemplate(`value`: Output) {
        this.customLicenseAcquisitionUrlTemplate = value
    }

    /**
     * @param value Custom attributes for PlayReady. Changing this forces a new Streaming Policy to be created.
     */
    @JvmName("kbjssmfkvssawdpb")
    public suspend fun customAttributes(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.customAttributes = mapped
    }

    /**
     * @param value The URL template for the custom service that delivers licenses to the end user. This is not required when using Azure Media Services for issuing licenses. Changing this forces a new Streaming Policy to be created.
     */
    @JvmName("hjcyjcnxiquvacne")
    public suspend fun customLicenseAcquisitionUrlTemplate(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.customLicenseAcquisitionUrlTemplate = mapped
    }

    internal fun build(): StreamingPolicyCommonEncryptionCencDrmPlayreadyArgs =
        StreamingPolicyCommonEncryptionCencDrmPlayreadyArgs(
            customAttributes = customAttributes,
            customLicenseAcquisitionUrlTemplate = customLicenseAcquisitionUrlTemplate,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy