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

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

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

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



/**
 * Insert user-defined custom ID3 metadata at timecodes that you specify. In each output that you want to include this metadata, you must set ID3 metadata to Passthrough.
 */
public class TimedMetadataInsertion private constructor(builder: Builder) {
    /**
     * Id3Insertions contains the array of Id3Insertion instances.
     */
    public val id3Insertions: List? = builder.id3Insertions

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

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

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

        if (id3Insertions != other.id3Insertions) return false

        return true
    }

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

    public class Builder {
        /**
         * Id3Insertions contains the array of Id3Insertion instances.
         */
        public var id3Insertions: List? = null

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy