![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.media.kotlin.inputs.StreamingPolicyContentKeysArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.media.kotlin.inputs
import com.pulumi.azurenative.media.inputs.StreamingPolicyContentKeysArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Class to specify properties of all content keys in Streaming Policy
* @property defaultKey Default content key for an encryption scheme
* @property keyToTrackMappings Representing tracks needs separate content key
*/
public data class StreamingPolicyContentKeysArgs(
public val defaultKey: Output? = null,
public val keyToTrackMappings: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.media.inputs.StreamingPolicyContentKeysArgs =
com.pulumi.azurenative.media.inputs.StreamingPolicyContentKeysArgs.builder()
.defaultKey(defaultKey?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.keyToTrackMappings(
keyToTrackMappings?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
).build()
}
/**
* Builder for [StreamingPolicyContentKeysArgs].
*/
@PulumiTagMarker
public class StreamingPolicyContentKeysArgsBuilder internal constructor() {
private var defaultKey: Output? = null
private var keyToTrackMappings: Output>? = null
/**
* @param value Default content key for an encryption scheme
*/
@JvmName("ldpkqwkvgipqphio")
public suspend fun defaultKey(`value`: Output) {
this.defaultKey = value
}
/**
* @param value Representing tracks needs separate content key
*/
@JvmName("mkyynaninbooxhdr")
public suspend fun keyToTrackMappings(`value`: Output>) {
this.keyToTrackMappings = value
}
@JvmName("emgdxlcnuvdwuusd")
public suspend fun keyToTrackMappings(vararg values: Output) {
this.keyToTrackMappings = Output.all(values.asList())
}
/**
* @param values Representing tracks needs separate content key
*/
@JvmName("evcynbvqwfifsaxs")
public suspend fun keyToTrackMappings(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy