
commonMain.aws.sdk.kotlin.services.medialive.model.FollowModeScheduleActionStartSettings.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.medialive.model
/**
* Settings to specify if an action follows another.
*/
public class FollowModeScheduleActionStartSettings private constructor(builder: Builder) {
/**
* Identifies whether this action starts relative to the start or relative to the end of the reference action.
*/
public val followPoint: aws.sdk.kotlin.services.medialive.model.FollowPoint? = builder.followPoint
/**
* The action name of another action that this one refers to.
*/
public val referenceActionName: kotlin.String? = builder.referenceActionName
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.medialive.model.FollowModeScheduleActionStartSettings = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("FollowModeScheduleActionStartSettings(")
append("followPoint=$followPoint,")
append("referenceActionName=$referenceActionName")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = followPoint?.hashCode() ?: 0
result = 31 * result + (referenceActionName?.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 FollowModeScheduleActionStartSettings
if (followPoint != other.followPoint) return false
if (referenceActionName != other.referenceActionName) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.medialive.model.FollowModeScheduleActionStartSettings = Builder(this).apply(block).build()
public class Builder {
/**
* Identifies whether this action starts relative to the start or relative to the end of the reference action.
*/
public var followPoint: aws.sdk.kotlin.services.medialive.model.FollowPoint? = null
/**
* The action name of another action that this one refers to.
*/
public var referenceActionName: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.medialive.model.FollowModeScheduleActionStartSettings) : this() {
this.followPoint = x.followPoint
this.referenceActionName = x.referenceActionName
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.medialive.model.FollowModeScheduleActionStartSettings = FollowModeScheduleActionStartSettings(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy