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

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

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

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



/**
 * Ms Smooth Output Settings
 */
public class MsSmoothOutputSettings private constructor(builder: Builder) {
    /**
     * Only applicable when this output is referencing an H.265 video description. Specifies whether MP4 segments should be packaged as HEV1 or HVC1.
     */
    public val h265PackagingType: aws.sdk.kotlin.services.medialive.model.MsSmoothH265PackagingType? = builder.h265PackagingType
    /**
     * String concatenated to the end of the destination filename. Required for multiple outputs of the same type.
     */
    public val nameModifier: kotlin.String? = builder.nameModifier

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

    override fun toString(): kotlin.String = buildString {
        append("MsSmoothOutputSettings(")
        append("h265PackagingType=$h265PackagingType,")
        append("nameModifier=$nameModifier")
        append(")")
    }

    override fun hashCode(): kotlin.Int {
        var result = h265PackagingType?.hashCode() ?: 0
        result = 31 * result + (nameModifier?.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 MsSmoothOutputSettings

        if (h265PackagingType != other.h265PackagingType) return false
        if (nameModifier != other.nameModifier) return false

        return true
    }

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

    public class Builder {
        /**
         * Only applicable when this output is referencing an H.265 video description. Specifies whether MP4 segments should be packaged as HEV1 or HVC1.
         */
        public var h265PackagingType: aws.sdk.kotlin.services.medialive.model.MsSmoothH265PackagingType? = null
        /**
         * String concatenated to the end of the destination filename. Required for multiple outputs of the same type.
         */
        public var nameModifier: kotlin.String? = null

        @PublishedApi
        internal constructor()
        @PublishedApi
        internal constructor(x: aws.sdk.kotlin.services.medialive.model.MsSmoothOutputSettings) : this() {
            this.h265PackagingType = x.h265PackagingType
            this.nameModifier = x.nameModifier
        }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy