
commonMain.aws.sdk.kotlin.services.mediaconvert.model.Id3Insertion.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.mediaconvert.model
/**
* To insert ID3 tags in your output, specify two values. Use ID3 tag to specify the base 64 encoded string and use Timecode to specify the time when the tag should be inserted. To insert multiple ID3 tags in your output, create multiple instances of ID3 insertion.
*/
public class Id3Insertion private constructor(builder: Builder) {
/**
* Use ID3 tag to provide a fully formed ID3 tag in base64-encode format.
*/
public val id3: kotlin.String? = builder.id3
/**
* Provide a Timecode in HH:MM:SS:FF or HH:MM:SS;FF format.
*/
public val timecode: kotlin.String? = builder.timecode
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.mediaconvert.model.Id3Insertion = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("Id3Insertion(")
append("id3=$id3,")
append("timecode=$timecode")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = id3?.hashCode() ?: 0
result = 31 * result + (timecode?.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 Id3Insertion
if (id3 != other.id3) return false
if (timecode != other.timecode) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.mediaconvert.model.Id3Insertion = Builder(this).apply(block).build()
public class Builder {
/**
* Use ID3 tag to provide a fully formed ID3 tag in base64-encode format.
*/
public var id3: kotlin.String? = null
/**
* Provide a Timecode in HH:MM:SS:FF or HH:MM:SS;FF format.
*/
public var timecode: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.mediaconvert.model.Id3Insertion) : this() {
this.id3 = x.id3
this.timecode = x.timecode
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.mediaconvert.model.Id3Insertion = Id3Insertion(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy