
commonMain.aws.sdk.kotlin.services.mediaconvert.model.AvcIntraUhdSettings.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.mediaconvert.model
/**
* Optional when you set AVC-Intra class to Class 4K/2K. When you set AVC-Intra class to a different value, this object isn't allowed.
*/
public class AvcIntraUhdSettings private constructor(builder: Builder) {
/**
* Optional. Use Quality tuning level to choose how many transcoding passes MediaConvert does with your video. When you choose Multi-pass, your video quality is better and your output bitrate is more accurate. That is, the actual bitrate of your output is closer to the target bitrate defined in the specification. When you choose Single-pass, your encoding time is faster. The default behavior is Single-pass.
*/
public val qualityTuningLevel: aws.sdk.kotlin.services.mediaconvert.model.AvcIntraUhdQualityTuningLevel? = builder.qualityTuningLevel
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.mediaconvert.model.AvcIntraUhdSettings = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("AvcIntraUhdSettings(")
append("qualityTuningLevel=$qualityTuningLevel")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = qualityTuningLevel?.hashCode() ?: 0
return result
}
override fun equals(other: kotlin.Any?): kotlin.Boolean {
if (this === other) return true
if (other == null || this::class != other::class) return false
other as AvcIntraUhdSettings
if (qualityTuningLevel != other.qualityTuningLevel) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.mediaconvert.model.AvcIntraUhdSettings = Builder(this).apply(block).build()
public class Builder {
/**
* Optional. Use Quality tuning level to choose how many transcoding passes MediaConvert does with your video. When you choose Multi-pass, your video quality is better and your output bitrate is more accurate. That is, the actual bitrate of your output is closer to the target bitrate defined in the specification. When you choose Single-pass, your encoding time is faster. The default behavior is Single-pass.
*/
public var qualityTuningLevel: aws.sdk.kotlin.services.mediaconvert.model.AvcIntraUhdQualityTuningLevel? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.mediaconvert.model.AvcIntraUhdSettings) : this() {
this.qualityTuningLevel = x.qualityTuningLevel
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.mediaconvert.model.AvcIntraUhdSettings = AvcIntraUhdSettings(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy