
commonMain.aws.sdk.kotlin.services.medialive.model.MotionGraphicsActivateScheduleActionSettings.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.medialive.model
/**
* Settings to specify the rendering of motion graphics into the video stream.
*/
public class MotionGraphicsActivateScheduleActionSettings private constructor(builder: Builder) {
/**
* Duration (in milliseconds) that motion graphics should render on to the video stream. Leaving out this property or setting to 0 will result in rendering continuing until a deactivate action is processed.
*/
public val duration: kotlin.Long = builder.duration
/**
* Key used to extract the password from EC2 Parameter store
*/
public val passwordParam: kotlin.String? = builder.passwordParam
/**
* URI of the HTML5 content to be rendered into the live stream.
*/
public val url: kotlin.String? = builder.url
/**
* Documentation update needed
*/
public val username: kotlin.String? = builder.username
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.medialive.model.MotionGraphicsActivateScheduleActionSettings = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("MotionGraphicsActivateScheduleActionSettings(")
append("duration=$duration,")
append("passwordParam=$passwordParam,")
append("url=$url,")
append("username=$username")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = duration.hashCode()
result = 31 * result + (passwordParam?.hashCode() ?: 0)
result = 31 * result + (url?.hashCode() ?: 0)
result = 31 * result + (username?.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 MotionGraphicsActivateScheduleActionSettings
if (duration != other.duration) return false
if (passwordParam != other.passwordParam) return false
if (url != other.url) return false
if (username != other.username) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.medialive.model.MotionGraphicsActivateScheduleActionSettings = Builder(this).apply(block).build()
public class Builder {
/**
* Duration (in milliseconds) that motion graphics should render on to the video stream. Leaving out this property or setting to 0 will result in rendering continuing until a deactivate action is processed.
*/
public var duration: kotlin.Long = 0L
/**
* Key used to extract the password from EC2 Parameter store
*/
public var passwordParam: kotlin.String? = null
/**
* URI of the HTML5 content to be rendered into the live stream.
*/
public var url: kotlin.String? = null
/**
* Documentation update needed
*/
public var username: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.medialive.model.MotionGraphicsActivateScheduleActionSettings) : this() {
this.duration = x.duration
this.passwordParam = x.passwordParam
this.url = x.url
this.username = x.username
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.medialive.model.MotionGraphicsActivateScheduleActionSettings = MotionGraphicsActivateScheduleActionSettings(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy