commonMain.aws.sdk.kotlin.services.mediaconvert.model.H265RateControlMode.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mediaconvert Show documentation
Show all versions of mediaconvert Show documentation
The AWS SDK for Kotlin client for MediaConvert
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.mediaconvert.model
import kotlin.collections.List
/**
* Use this setting to specify whether this output has a variable bitrate (VBR), constant bitrate (CBR) or quality-defined variable bitrate (QVBR).
*/
public sealed class H265RateControlMode {
public abstract val value: kotlin.String
public object Cbr : aws.sdk.kotlin.services.mediaconvert.model.H265RateControlMode() {
override val value: kotlin.String = "CBR"
override fun toString(): kotlin.String = value
}
public object Qvbr : aws.sdk.kotlin.services.mediaconvert.model.H265RateControlMode() {
override val value: kotlin.String = "QVBR"
override fun toString(): kotlin.String = value
}
public object Vbr : aws.sdk.kotlin.services.mediaconvert.model.H265RateControlMode() {
override val value: kotlin.String = "VBR"
override fun toString(): kotlin.String = value
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.mediaconvert.model.H265RateControlMode() {
override fun toString(): kotlin.String = value
}
public companion object {
/**
* Convert a raw value to one of the sealed variants or [SdkUnknown]
*/
public fun fromValue(str: kotlin.String): aws.sdk.kotlin.services.mediaconvert.model.H265RateControlMode = when(str) {
"CBR" -> Cbr
"QVBR" -> Qvbr
"VBR" -> Vbr
else -> SdkUnknown(str)
}
/**
* Get a list of all possible variants
*/
public fun values(): kotlin.collections.List = listOf(
Cbr,
Qvbr,
Vbr
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy