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

commonMain.aws.sdk.kotlin.services.medialive.model.HlsTimedMetadataScheduleActionSettings.kt Maven / Gradle / Ivy

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

package aws.sdk.kotlin.services.medialive.model



/**
 * Settings for the action to emit HLS metadata
 */
public class HlsTimedMetadataScheduleActionSettings private constructor(builder: Builder) {
    /**
     * Base64 string formatted according to the ID3 specification: http://id3.org/id3v2.4.0-structure
     */
    public val id3: kotlin.String? = builder.id3

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

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

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

        if (id3 != other.id3) return false

        return true
    }

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

    public class Builder {
        /**
         * Base64 string formatted according to the ID3 specification: http://id3.org/id3v2.4.0-structure
         */
        public var id3: kotlin.String? = null

        @PublishedApi
        internal constructor()
        @PublishedApi
        internal constructor(x: aws.sdk.kotlin.services.medialive.model.HlsTimedMetadataScheduleActionSettings) : this() {
            this.id3 = x.id3
        }

        @PublishedApi
        internal fun build(): aws.sdk.kotlin.services.medialive.model.HlsTimedMetadataScheduleActionSettings = HlsTimedMetadataScheduleActionSettings(this)
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy