
commonMain.aws.sdk.kotlin.services.medialive.model.StartTimecode.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.medialive.model
/**
* Settings to identify the start of the clip.
*/
public class StartTimecode private constructor(builder: Builder) {
/**
* The timecode for the frame where you want to start the clip. Optional; if not specified, the clip starts at first frame in the file. Enter the timecode as HH:MM:SS:FF or HH:MM:SS;FF.
*/
public val timecode: kotlin.String? = builder.timecode
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.medialive.model.StartTimecode = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("StartTimecode(")
append("timecode=$timecode")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = timecode?.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 StartTimecode
if (timecode != other.timecode) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.medialive.model.StartTimecode = Builder(this).apply(block).build()
public class Builder {
/**
* The timecode for the frame where you want to start the clip. Optional; if not specified, the clip starts at first frame in the file. Enter the timecode as HH:MM:SS:FF or HH:MM:SS;FF.
*/
public var timecode: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.medialive.model.StartTimecode) : this() {
this.timecode = x.timecode
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.medialive.model.StartTimecode = StartTimecode(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy