![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.media.kotlin.inputs.LiveEventInputArgs.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.LiveEventInputArgs.builder
import com.pulumi.azurenative.media.kotlin.enums.LiveEventInputProtocol
import com.pulumi.core.Either
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 com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* The live event input.
* @property accessControl Access control for live event input.
* @property accessToken A UUID in string form to uniquely identify the stream. This can be specified at creation time but cannot be updated. If omitted, the service will generate a unique value.
* @property endpoints The input endpoints for the live event.
* @property keyFrameIntervalDuration ISO 8601 time duration of the key frame interval duration of the input. This value sets the EXT-X-TARGETDURATION property in the HLS output. For example, use PT2S to indicate 2 seconds. Leave the value empty for encoding live events.
* @property streamingProtocol The input protocol for the live event. This is specified at creation time and cannot be updated.
* @property timedMetadataEndpoints The metadata endpoints for the live event.
*/
public data class LiveEventInputArgs(
public val accessControl: Output? = null,
public val accessToken: Output? = null,
public val endpoints: Output>? = null,
public val keyFrameIntervalDuration: Output? = null,
public val streamingProtocol: Output>,
public val timedMetadataEndpoints: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.media.inputs.LiveEventInputArgs =
com.pulumi.azurenative.media.inputs.LiveEventInputArgs.builder()
.accessControl(accessControl?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.accessToken(accessToken?.applyValue({ args0 -> args0 }))
.endpoints(
endpoints?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.keyFrameIntervalDuration(keyFrameIntervalDuration?.applyValue({ args0 -> args0 }))
.streamingProtocol(
streamingProtocol.applyValue({ args0 ->
args0.transform(
{ args0 -> args0 },
{ args0 -> args0.let({ args0 -> args0.toJava() }) },
)
}),
)
.timedMetadataEndpoints(
timedMetadataEndpoints?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
).build()
}
/**
* Builder for [LiveEventInputArgs].
*/
@PulumiTagMarker
public class LiveEventInputArgsBuilder internal constructor() {
private var accessControl: Output? = null
private var accessToken: Output? = null
private var endpoints: Output>? = null
private var keyFrameIntervalDuration: Output? = null
private var streamingProtocol: Output>? = null
private var timedMetadataEndpoints: Output>? = null
/**
* @param value Access control for live event input.
*/
@JvmName("sqwdwqodjoxbyroi")
public suspend fun accessControl(`value`: Output) {
this.accessControl = value
}
/**
* @param value A UUID in string form to uniquely identify the stream. This can be specified at creation time but cannot be updated. If omitted, the service will generate a unique value.
*/
@JvmName("tffdhhwqbxysrvjs")
public suspend fun accessToken(`value`: Output) {
this.accessToken = value
}
/**
* @param value The input endpoints for the live event.
*/
@JvmName("jfwrdybfevsmcaaq")
public suspend fun endpoints(`value`: Output>) {
this.endpoints = value
}
@JvmName("ivptxorbxvxhvoyy")
public suspend fun endpoints(vararg values: Output) {
this.endpoints = Output.all(values.asList())
}
/**
* @param values The input endpoints for the live event.
*/
@JvmName("imvmxfrsakcyiysf")
public suspend fun endpoints(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy