commonMain.aws.sdk.kotlin.services.mediaconvert.model.F4vSettings.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mediaconvert-jvm Show documentation
Show all versions of mediaconvert-jvm Show documentation
The AWS SDK for Kotlin client for MediaConvert
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.mediaconvert.model
import aws.smithy.kotlin.runtime.SdkDsl
/**
* Settings for F4v container
*/
public class F4vSettings private constructor(builder: Builder) {
/**
* To place the MOOV atom at the beginning of your output, which is useful for progressive downloading: Leave blank or choose Progressive download. To place the MOOV at the end of your output: Choose Normal.
*/
public val moovPlacement: aws.sdk.kotlin.services.mediaconvert.model.F4vMoovPlacement? = builder.moovPlacement
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.mediaconvert.model.F4vSettings = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("F4vSettings(")
append("moovPlacement=$moovPlacement")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = moovPlacement?.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 F4vSettings
if (moovPlacement != other.moovPlacement) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.mediaconvert.model.F4vSettings = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* To place the MOOV atom at the beginning of your output, which is useful for progressive downloading: Leave blank or choose Progressive download. To place the MOOV at the end of your output: Choose Normal.
*/
public var moovPlacement: aws.sdk.kotlin.services.mediaconvert.model.F4vMoovPlacement? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.mediaconvert.model.F4vSettings) : this() {
this.moovPlacement = x.moovPlacement
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.mediaconvert.model.F4vSettings = F4vSettings(this)
internal fun correctErrors(): Builder {
return this
}
}
}