
com.pulumi.azure.media.kotlin.inputs.TransformOutputBuiltinPresetPresetConfigurationArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.media.kotlin.inputs
import com.pulumi.azure.media.inputs.TransformOutputBuiltinPresetPresetConfigurationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Double
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property complexity The complexity of the encoding. Possible values are `Balanced`, `Speed` or `Quality`.
* @property interleaveOutput Specifies the interleave mode of the output to control how audio are stored in the container format. Possible values are `InterleavedOutput` and `NonInterleavedOutput`.
* @property keyFrameIntervalInSeconds The key frame interval in seconds. Possible value is a positive float. For example, set as `2.0` to reduce the playback buffering for some players.
* @property maxBitrateBps The maximum bitrate in bits per second (threshold for the top video layer). For example, set as `6000000` to avoid producing very high bitrate outputs for contents with high complexity.
* @property maxHeight The maximum height of output video layers. For example, set as `720` to produce output layers up to 720P even if the input is 4K.
* @property maxLayers The maximum number of output video layers. For example, set as `4` to make sure at most 4 output layers are produced to control the overall cost of the encoding job.
* @property minBitrateBps The minimum bitrate in bits per second (threshold for the bottom video layer). For example, set as `200000` to have a bottom layer that covers users with low network bandwidth.
* @property minHeight The minimum height of output video layers. For example, set as `360` to avoid output layers of smaller resolutions like 180P.
*/
public data class TransformOutputBuiltinPresetPresetConfigurationArgs(
public val complexity: Output? = null,
public val interleaveOutput: Output? = null,
public val keyFrameIntervalInSeconds: Output? = null,
public val maxBitrateBps: Output? = null,
public val maxHeight: Output? = null,
public val maxLayers: Output? = null,
public val minBitrateBps: Output? = null,
public val minHeight: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azure.media.inputs.TransformOutputBuiltinPresetPresetConfigurationArgs =
com.pulumi.azure.media.inputs.TransformOutputBuiltinPresetPresetConfigurationArgs.builder()
.complexity(complexity?.applyValue({ args0 -> args0 }))
.interleaveOutput(interleaveOutput?.applyValue({ args0 -> args0 }))
.keyFrameIntervalInSeconds(keyFrameIntervalInSeconds?.applyValue({ args0 -> args0 }))
.maxBitrateBps(maxBitrateBps?.applyValue({ args0 -> args0 }))
.maxHeight(maxHeight?.applyValue({ args0 -> args0 }))
.maxLayers(maxLayers?.applyValue({ args0 -> args0 }))
.minBitrateBps(minBitrateBps?.applyValue({ args0 -> args0 }))
.minHeight(minHeight?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [TransformOutputBuiltinPresetPresetConfigurationArgs].
*/
@PulumiTagMarker
public class TransformOutputBuiltinPresetPresetConfigurationArgsBuilder internal constructor() {
private var complexity: Output? = null
private var interleaveOutput: Output? = null
private var keyFrameIntervalInSeconds: Output? = null
private var maxBitrateBps: Output? = null
private var maxHeight: Output? = null
private var maxLayers: Output? = null
private var minBitrateBps: Output? = null
private var minHeight: Output? = null
/**
* @param value The complexity of the encoding. Possible values are `Balanced`, `Speed` or `Quality`.
*/
@JvmName("xpjrhxtgpqohoeid")
public suspend fun complexity(`value`: Output) {
this.complexity = value
}
/**
* @param value Specifies the interleave mode of the output to control how audio are stored in the container format. Possible values are `InterleavedOutput` and `NonInterleavedOutput`.
*/
@JvmName("omyutynypgesptqn")
public suspend fun interleaveOutput(`value`: Output) {
this.interleaveOutput = value
}
/**
* @param value The key frame interval in seconds. Possible value is a positive float. For example, set as `2.0` to reduce the playback buffering for some players.
*/
@JvmName("vbyplydwmhifomtr")
public suspend fun keyFrameIntervalInSeconds(`value`: Output) {
this.keyFrameIntervalInSeconds = value
}
/**
* @param value The maximum bitrate in bits per second (threshold for the top video layer). For example, set as `6000000` to avoid producing very high bitrate outputs for contents with high complexity.
*/
@JvmName("sdjgwuwhgyeikjmq")
public suspend fun maxBitrateBps(`value`: Output) {
this.maxBitrateBps = value
}
/**
* @param value The maximum height of output video layers. For example, set as `720` to produce output layers up to 720P even if the input is 4K.
*/
@JvmName("rcjhibtaxuftnvvk")
public suspend fun maxHeight(`value`: Output) {
this.maxHeight = value
}
/**
* @param value The maximum number of output video layers. For example, set as `4` to make sure at most 4 output layers are produced to control the overall cost of the encoding job.
*/
@JvmName("abxchuumflualvfp")
public suspend fun maxLayers(`value`: Output) {
this.maxLayers = value
}
/**
* @param value The minimum bitrate in bits per second (threshold for the bottom video layer). For example, set as `200000` to have a bottom layer that covers users with low network bandwidth.
*/
@JvmName("xqxwsriexbuaccya")
public suspend fun minBitrateBps(`value`: Output) {
this.minBitrateBps = value
}
/**
* @param value The minimum height of output video layers. For example, set as `360` to avoid output layers of smaller resolutions like 180P.
*/
@JvmName("aywmavervcsdyadh")
public suspend fun minHeight(`value`: Output) {
this.minHeight = value
}
/**
* @param value The complexity of the encoding. Possible values are `Balanced`, `Speed` or `Quality`.
*/
@JvmName("ssyemytumqlrvvkp")
public suspend fun complexity(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.complexity = mapped
}
/**
* @param value Specifies the interleave mode of the output to control how audio are stored in the container format. Possible values are `InterleavedOutput` and `NonInterleavedOutput`.
*/
@JvmName("osvuqevbqbulddnn")
public suspend fun interleaveOutput(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.interleaveOutput = mapped
}
/**
* @param value The key frame interval in seconds. Possible value is a positive float. For example, set as `2.0` to reduce the playback buffering for some players.
*/
@JvmName("qduypqmpsvdpofks")
public suspend fun keyFrameIntervalInSeconds(`value`: Double?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.keyFrameIntervalInSeconds = mapped
}
/**
* @param value The maximum bitrate in bits per second (threshold for the top video layer). For example, set as `6000000` to avoid producing very high bitrate outputs for contents with high complexity.
*/
@JvmName("ficfbshwngucrjao")
public suspend fun maxBitrateBps(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.maxBitrateBps = mapped
}
/**
* @param value The maximum height of output video layers. For example, set as `720` to produce output layers up to 720P even if the input is 4K.
*/
@JvmName("ibchulrtsojcfjjd")
public suspend fun maxHeight(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.maxHeight = mapped
}
/**
* @param value The maximum number of output video layers. For example, set as `4` to make sure at most 4 output layers are produced to control the overall cost of the encoding job.
*/
@JvmName("nuwypdwhpnvxkeoh")
public suspend fun maxLayers(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.maxLayers = mapped
}
/**
* @param value The minimum bitrate in bits per second (threshold for the bottom video layer). For example, set as `200000` to have a bottom layer that covers users with low network bandwidth.
*/
@JvmName("bemskejucpqvyhkd")
public suspend fun minBitrateBps(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.minBitrateBps = mapped
}
/**
* @param value The minimum height of output video layers. For example, set as `360` to avoid output layers of smaller resolutions like 180P.
*/
@JvmName("ngoyeirqxjxdjvuf")
public suspend fun minHeight(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.minHeight = mapped
}
internal fun build(): TransformOutputBuiltinPresetPresetConfigurationArgs =
TransformOutputBuiltinPresetPresetConfigurationArgs(
complexity = complexity,
interleaveOutput = interleaveOutput,
keyFrameIntervalInSeconds = keyFrameIntervalInSeconds,
maxBitrateBps = maxBitrateBps,
maxHeight = maxHeight,
maxLayers = maxLayers,
minBitrateBps = minBitrateBps,
minHeight = minHeight,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy