
commonMain.aws.sdk.kotlin.services.mediaconvert.model.VideoOverlayInputClipping.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.mediaconvert.model
/**
* To transcode only portions of your video overlay, include one input clip for each part of your video overlay that you want in your output.
*/
public class VideoOverlayInputClipping private constructor(builder: Builder) {
/**
* Specify the timecode of the last frame to include in your video overlay's clip. Use the format HH:MM:SS:FF or HH:MM:SS;FF, where HH is the hour, MM is the minute, SS is the second, and FF is the frame number. When entering this value, take into account your choice for Timecode source.
*/
public val endTimecode: kotlin.String? = builder.endTimecode
/**
* Specify the timecode of the first frame to include in your video overlay's clip. Use the format HH:MM:SS:FF or HH:MM:SS;FF, where HH is the hour, MM is the minute, SS is the second, and FF is the frame number. When entering this value, take into account your choice for Timecode source.
*/
public val startTimecode: kotlin.String? = builder.startTimecode
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.mediaconvert.model.VideoOverlayInputClipping = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("VideoOverlayInputClipping(")
append("endTimecode=$endTimecode,")
append("startTimecode=$startTimecode")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = endTimecode?.hashCode() ?: 0
result = 31 * result + (startTimecode?.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 VideoOverlayInputClipping
if (endTimecode != other.endTimecode) return false
if (startTimecode != other.startTimecode) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.mediaconvert.model.VideoOverlayInputClipping = Builder(this).apply(block).build()
public class Builder {
/**
* Specify the timecode of the last frame to include in your video overlay's clip. Use the format HH:MM:SS:FF or HH:MM:SS;FF, where HH is the hour, MM is the minute, SS is the second, and FF is the frame number. When entering this value, take into account your choice for Timecode source.
*/
public var endTimecode: kotlin.String? = null
/**
* Specify the timecode of the first frame to include in your video overlay's clip. Use the format HH:MM:SS:FF or HH:MM:SS;FF, where HH is the hour, MM is the minute, SS is the second, and FF is the frame number. When entering this value, take into account your choice for Timecode source.
*/
public var startTimecode: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.mediaconvert.model.VideoOverlayInputClipping) : this() {
this.endTimecode = x.endTimecode
this.startTimecode = x.startTimecode
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.mediaconvert.model.VideoOverlayInputClipping = VideoOverlayInputClipping(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy