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

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

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

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



/**
 * Specify the details for each additional Microsoft Smooth Streaming manifest that you want the service to generate for this output group. Each manifest can reference a different subset of outputs in the group.
 */
public class MsSmoothAdditionalManifest private constructor(builder: Builder) {
    /**
     * Specify a name modifier that the service adds to the name of this manifest to make it different from the file names of the other main manifests in the output group. For example, say that the default main manifest for your Microsoft Smooth group is film-name.ismv. If you enter "-no-premium" for this setting, then the file name the service generates for this top-level manifest is film-name-no-premium.ismv.
     */
    public val manifestNameModifier: kotlin.String? = builder.manifestNameModifier
    /**
     * Specify the outputs that you want this additional top-level manifest to reference.
     */
    public val selectedOutputs: List? = builder.selectedOutputs

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

    override fun toString(): kotlin.String = buildString {
        append("MsSmoothAdditionalManifest(")
        append("manifestNameModifier=$manifestNameModifier,")
        append("selectedOutputs=$selectedOutputs")
        append(")")
    }

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

        if (manifestNameModifier != other.manifestNameModifier) return false
        if (selectedOutputs != other.selectedOutputs) return false

        return true
    }

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

    public class Builder {
        /**
         * Specify a name modifier that the service adds to the name of this manifest to make it different from the file names of the other main manifests in the output group. For example, say that the default main manifest for your Microsoft Smooth group is film-name.ismv. If you enter "-no-premium" for this setting, then the file name the service generates for this top-level manifest is film-name-no-premium.ismv.
         */
        public var manifestNameModifier: kotlin.String? = null
        /**
         * Specify the outputs that you want this additional top-level manifest to reference.
         */
        public var selectedOutputs: List? = null

        @PublishedApi
        internal constructor()
        @PublishedApi
        internal constructor(x: aws.sdk.kotlin.services.mediaconvert.model.MsSmoothAdditionalManifest) : this() {
            this.manifestNameModifier = x.manifestNameModifier
            this.selectedOutputs = x.selectedOutputs
        }

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy