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

commonMain.aws.sdk.kotlin.services.mediaconvert.model.XavcHdIntraCbgProfileSettings.kt Maven / Gradle / Ivy

// Code generated by smithy-kotlin-codegen. DO NOT EDIT!

package aws.sdk.kotlin.services.mediaconvert.model



/**
 * Required when you set Profile to the value XAVC_HD_INTRA_CBG.
 */
public class XavcHdIntraCbgProfileSettings private constructor(builder: Builder) {
    /**
     * Specify the XAVC Intra HD (CBG) Class to set the bitrate of your output. Outputs of the same class have similar image quality over the operating points that are valid for that class.
     */
    public val xavcClass: aws.sdk.kotlin.services.mediaconvert.model.XavcHdIntraCbgProfileClass? = builder.xavcClass

    public companion object {
        public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.mediaconvert.model.XavcHdIntraCbgProfileSettings = Builder().apply(block).build()
    }

    override fun toString(): kotlin.String = buildString {
        append("XavcHdIntraCbgProfileSettings(")
        append("xavcClass=$xavcClass")
        append(")")
    }

    override fun hashCode(): kotlin.Int {
        var result = xavcClass?.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 XavcHdIntraCbgProfileSettings

        if (xavcClass != other.xavcClass) return false

        return true
    }

    public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.mediaconvert.model.XavcHdIntraCbgProfileSettings = Builder(this).apply(block).build()

    public class Builder {
        /**
         * Specify the XAVC Intra HD (CBG) Class to set the bitrate of your output. Outputs of the same class have similar image quality over the operating points that are valid for that class.
         */
        public var xavcClass: aws.sdk.kotlin.services.mediaconvert.model.XavcHdIntraCbgProfileClass? = null

        @PublishedApi
        internal constructor()
        @PublishedApi
        internal constructor(x: aws.sdk.kotlin.services.mediaconvert.model.XavcHdIntraCbgProfileSettings) : this() {
            this.xavcClass = x.xavcClass
        }

        @PublishedApi
        internal fun build(): aws.sdk.kotlin.services.mediaconvert.model.XavcHdIntraCbgProfileSettings = XavcHdIntraCbgProfileSettings(this)

        internal fun correctErrors(): Builder {
            return this
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy