![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.media.kotlin.inputs.ContentKeyPolicyTokenClaimArgs.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.ContentKeyPolicyTokenClaimArgs.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
/**
* Represents a token claim.
* @property claimType Token claim type.
* @property claimValue Token claim value.
*/
public data class ContentKeyPolicyTokenClaimArgs(
public val claimType: Output? = null,
public val claimValue: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.media.inputs.ContentKeyPolicyTokenClaimArgs =
com.pulumi.azurenative.media.inputs.ContentKeyPolicyTokenClaimArgs.builder()
.claimType(claimType?.applyValue({ args0 -> args0 }))
.claimValue(claimValue?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ContentKeyPolicyTokenClaimArgs].
*/
@PulumiTagMarker
public class ContentKeyPolicyTokenClaimArgsBuilder internal constructor() {
private var claimType: Output? = null
private var claimValue: Output? = null
/**
* @param value Token claim type.
*/
@JvmName("uwyrhwbrlkuscljm")
public suspend fun claimType(`value`: Output) {
this.claimType = value
}
/**
* @param value Token claim value.
*/
@JvmName("fcobpvdjyadnudep")
public suspend fun claimValue(`value`: Output) {
this.claimValue = value
}
/**
* @param value Token claim type.
*/
@JvmName("kwfhukybsrdmprrb")
public suspend fun claimType(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.claimType = mapped
}
/**
* @param value Token claim value.
*/
@JvmName("cjfohkqydkaetccj")
public suspend fun claimValue(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.claimValue = mapped
}
internal fun build(): ContentKeyPolicyTokenClaimArgs = ContentKeyPolicyTokenClaimArgs(
claimType = claimType,
claimValue = claimValue,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy