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

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

package com.pulumi.azurenative.media.kotlin.inputs

import com.pulumi.azurenative.media.inputs.StreamingLocatorContentKeyArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * Class for content key in Streaming Locator
 * @property id ID of Content Key
 * @property labelReferenceInStreamingPolicy Label of Content Key as specified in the Streaming Policy
 * @property value Value of Content Key
 */
public data class StreamingLocatorContentKeyArgs(
    public val id: Output,
    public val labelReferenceInStreamingPolicy: Output? = null,
    public val `value`: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.media.inputs.StreamingLocatorContentKeyArgs =
        com.pulumi.azurenative.media.inputs.StreamingLocatorContentKeyArgs.builder()
            .id(id.applyValue({ args0 -> args0 }))
            .labelReferenceInStreamingPolicy(labelReferenceInStreamingPolicy?.applyValue({ args0 -> args0 }))
            .`value`(`value`?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [StreamingLocatorContentKeyArgs].
 */
@PulumiTagMarker
public class StreamingLocatorContentKeyArgsBuilder internal constructor() {
    private var id: Output? = null

    private var labelReferenceInStreamingPolicy: Output? = null

    private var `value`: Output? = null

    /**
     * @param value ID of Content Key
     */
    @JvmName("nokcdwkkxmumpeji")
    public suspend fun id(`value`: Output) {
        this.id = value
    }

    /**
     * @param value Label of Content Key as specified in the Streaming Policy
     */
    @JvmName("mqyauifvyesjjbuy")
    public suspend fun labelReferenceInStreamingPolicy(`value`: Output) {
        this.labelReferenceInStreamingPolicy = value
    }

    /**
     * @param value Value of Content Key
     */
    @JvmName("vmdoujnkjlmgiydr")
    public suspend fun `value`(`value`: Output) {
        this.`value` = value
    }

    /**
     * @param value ID of Content Key
     */
    @JvmName("essaonlvmgmviukg")
    public suspend fun id(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.id = mapped
    }

    /**
     * @param value Label of Content Key as specified in the Streaming Policy
     */
    @JvmName("hhjwqrfaadycsfht")
    public suspend fun labelReferenceInStreamingPolicy(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.labelReferenceInStreamingPolicy = mapped
    }

    /**
     * @param value Value of Content Key
     */
    @JvmName("lvmpukjxsfiejfxt")
    public suspend fun `value`(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.`value` = mapped
    }

    internal fun build(): StreamingLocatorContentKeyArgs = StreamingLocatorContentKeyArgs(
        id = id ?: throw PulumiNullFieldException("id"),
        labelReferenceInStreamingPolicy = labelReferenceInStreamingPolicy,
        `value` = `value`,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy