
commonMain.aws.sdk.kotlin.services.medialive.model.FixedModeScheduleActionStartSettings.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.medialive.model
/**
* Start time for the action.
*/
public class FixedModeScheduleActionStartSettings private constructor(builder: Builder) {
/**
* Start time for the action to start in the channel. (Not the time for the action to be added to the schedule: actions are always added to the schedule immediately.) UTC format: yyyy-mm-ddThh:mm:ss.nnnZ. All the letters are digits (for example, mm might be 01) except for the two constants "T" for time and "Z" for "UTC format".
*/
public val time: kotlin.String? = builder.time
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.medialive.model.FixedModeScheduleActionStartSettings = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("FixedModeScheduleActionStartSettings(")
append("time=$time")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = time?.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 FixedModeScheduleActionStartSettings
if (time != other.time) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.medialive.model.FixedModeScheduleActionStartSettings = Builder(this).apply(block).build()
public class Builder {
/**
* Start time for the action to start in the channel. (Not the time for the action to be added to the schedule: actions are always added to the schedule immediately.) UTC format: yyyy-mm-ddThh:mm:ss.nnnZ. All the letters are digits (for example, mm might be 01) except for the two constants "T" for time and "Z" for "UTC format".
*/
public var time: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.medialive.model.FixedModeScheduleActionStartSettings) : this() {
this.time = x.time
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.medialive.model.FixedModeScheduleActionStartSettings = FixedModeScheduleActionStartSettings(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy