
commonMain.aws.sdk.kotlin.services.mediaconvert.model.MxfSettings.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.mediaconvert.model
/**
* These settings relate to your MXF output container.
*/
public class MxfSettings private constructor(builder: Builder) {
/**
* Optional. When you have AFD signaling set up in your output video stream, use this setting to choose whether to also include it in the MXF wrapper. Choose Don't copy to exclude AFD signaling from the MXF wrapper. Choose Copy from video stream to copy the AFD values from the video stream for this output to the MXF wrapper. Regardless of which option you choose, the AFD values remain in the video stream. Related settings: To set up your output to include or exclude AFD values, see AfdSignaling, under VideoDescription. On the console, find AFD signaling under the output's video encoding settings.
*/
public val afdSignaling: aws.sdk.kotlin.services.mediaconvert.model.MxfAfdSignaling? = builder.afdSignaling
/**
* Specify the MXF profile, also called shim, for this output. To automatically select a profile according to your output video codec and resolution, leave blank. For a list of codecs supported with each MXF profile, see https://docs.aws.amazon.com/mediaconvert/latest/ug/codecs-supported-with-each-mxf-profile.html. For more information about the automatic selection behavior, see https://docs.aws.amazon.com/mediaconvert/latest/ug/default-automatic-selection-of-mxf-profiles.html.
*/
public val profile: aws.sdk.kotlin.services.mediaconvert.model.MxfProfile? = builder.profile
/**
* Specify the XAVC profile settings for MXF outputs when you set your MXF profile to XAVC.
*/
public val xavcProfileSettings: aws.sdk.kotlin.services.mediaconvert.model.MxfXavcProfileSettings? = builder.xavcProfileSettings
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.mediaconvert.model.MxfSettings = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("MxfSettings(")
append("afdSignaling=$afdSignaling,")
append("profile=$profile,")
append("xavcProfileSettings=$xavcProfileSettings")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = afdSignaling?.hashCode() ?: 0
result = 31 * result + (profile?.hashCode() ?: 0)
result = 31 * result + (xavcProfileSettings?.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 MxfSettings
if (afdSignaling != other.afdSignaling) return false
if (profile != other.profile) return false
if (xavcProfileSettings != other.xavcProfileSettings) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.mediaconvert.model.MxfSettings = Builder(this).apply(block).build()
public class Builder {
/**
* Optional. When you have AFD signaling set up in your output video stream, use this setting to choose whether to also include it in the MXF wrapper. Choose Don't copy to exclude AFD signaling from the MXF wrapper. Choose Copy from video stream to copy the AFD values from the video stream for this output to the MXF wrapper. Regardless of which option you choose, the AFD values remain in the video stream. Related settings: To set up your output to include or exclude AFD values, see AfdSignaling, under VideoDescription. On the console, find AFD signaling under the output's video encoding settings.
*/
public var afdSignaling: aws.sdk.kotlin.services.mediaconvert.model.MxfAfdSignaling? = null
/**
* Specify the MXF profile, also called shim, for this output. To automatically select a profile according to your output video codec and resolution, leave blank. For a list of codecs supported with each MXF profile, see https://docs.aws.amazon.com/mediaconvert/latest/ug/codecs-supported-with-each-mxf-profile.html. For more information about the automatic selection behavior, see https://docs.aws.amazon.com/mediaconvert/latest/ug/default-automatic-selection-of-mxf-profiles.html.
*/
public var profile: aws.sdk.kotlin.services.mediaconvert.model.MxfProfile? = null
/**
* Specify the XAVC profile settings for MXF outputs when you set your MXF profile to XAVC.
*/
public var xavcProfileSettings: aws.sdk.kotlin.services.mediaconvert.model.MxfXavcProfileSettings? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.mediaconvert.model.MxfSettings) : this() {
this.afdSignaling = x.afdSignaling
this.profile = x.profile
this.xavcProfileSettings = x.xavcProfileSettings
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.mediaconvert.model.MxfSettings = MxfSettings(this)
/**
* construct an [aws.sdk.kotlin.services.mediaconvert.model.MxfXavcProfileSettings] inside the given [block]
*/
public fun xavcProfileSettings(block: aws.sdk.kotlin.services.mediaconvert.model.MxfXavcProfileSettings.Builder.() -> kotlin.Unit) {
this.xavcProfileSettings = aws.sdk.kotlin.services.mediaconvert.model.MxfXavcProfileSettings.invoke(block)
}
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy