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

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

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

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property contentKeyId ID of Content Key. Changing this forces a new Streaming Locator to be created.
 * @property labelReferenceInStreamingPolicy Label of Content Key as specified in the Streaming Policy. Changing this forces a new Streaming Locator to be created.
 * @property policyName Content Key Policy used by Content Key. Changing this forces a new Streaming Locator to be created.
 * @property type Encryption type of Content Key. Supported values are `CommonEncryptionCbcs`, `CommonEncryptionCenc` or `EnvelopeEncryption`. Changing this forces a new Streaming Locator to be created.
 * @property value Value of Content Key. Changing this forces a new Streaming Locator to be created.
 */
public data class StreamingLocatorContentKey(
    public val contentKeyId: String? = null,
    public val labelReferenceInStreamingPolicy: String? = null,
    public val policyName: String? = null,
    public val type: String? = null,
    public val `value`: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.media.outputs.StreamingLocatorContentKey):
            StreamingLocatorContentKey = StreamingLocatorContentKey(
            contentKeyId = javaType.contentKeyId().map({ args0 -> args0 }).orElse(null),
            labelReferenceInStreamingPolicy = javaType.labelReferenceInStreamingPolicy().map({ args0 ->
                args0
            }).orElse(null),
            policyName = javaType.policyName().map({ args0 -> args0 }).orElse(null),
            type = javaType.type().map({ args0 -> args0 }).orElse(null),
            `value` = javaType.`value`().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy