![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.media.kotlin.inputs.DefaultKeyArgs.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.DefaultKeyArgs.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
/**
* Class to specify properties of default content key for each encryption scheme
* @property label Label can be used to specify Content Key when creating a Streaming Locator
* @property policyName Policy used by Default Key
*/
public data class DefaultKeyArgs(
public val label: Output? = null,
public val policyName: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.media.inputs.DefaultKeyArgs =
com.pulumi.azurenative.media.inputs.DefaultKeyArgs.builder()
.label(label?.applyValue({ args0 -> args0 }))
.policyName(policyName?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DefaultKeyArgs].
*/
@PulumiTagMarker
public class DefaultKeyArgsBuilder internal constructor() {
private var label: Output? = null
private var policyName: Output? = null
/**
* @param value Label can be used to specify Content Key when creating a Streaming Locator
*/
@JvmName("qklodkvmaygsbjlh")
public suspend fun label(`value`: Output) {
this.label = value
}
/**
* @param value Policy used by Default Key
*/
@JvmName("sqtdyvyedjjxmdsa")
public suspend fun policyName(`value`: Output) {
this.policyName = value
}
/**
* @param value Label can be used to specify Content Key when creating a Streaming Locator
*/
@JvmName("smfccepwbmsrjtuq")
public suspend fun label(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.label = mapped
}
/**
* @param value Policy used by Default Key
*/
@JvmName("egmdcwmrcvcbkmup")
public suspend fun policyName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.policyName = mapped
}
internal fun build(): DefaultKeyArgs = DefaultKeyArgs(
label = label,
policyName = policyName,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy