All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.aws.sdk.kotlin.services.medialive.model.PauseStateScheduleActionSettings.kt Maven / Gradle / Ivy

// Code generated by smithy-kotlin-codegen. DO NOT EDIT!

package aws.sdk.kotlin.services.medialive.model



/**
 * Settings for the action to set pause state of a channel.
 */
public class PauseStateScheduleActionSettings private constructor(builder: Builder) {
    /**
     * Placeholder documentation for __listOfPipelinePauseStateSettings
     */
    public val pipelines: List? = builder.pipelines

    public companion object {
        public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.medialive.model.PauseStateScheduleActionSettings = Builder().apply(block).build()
    }

    override fun toString(): kotlin.String = buildString {
        append("PauseStateScheduleActionSettings(")
        append("pipelines=$pipelines")
        append(")")
    }

    override fun hashCode(): kotlin.Int {
        var result = pipelines?.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 PauseStateScheduleActionSettings

        if (pipelines != other.pipelines) return false

        return true
    }

    public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.medialive.model.PauseStateScheduleActionSettings = Builder(this).apply(block).build()

    public class Builder {
        /**
         * Placeholder documentation for __listOfPipelinePauseStateSettings
         */
        public var pipelines: List? = null

        @PublishedApi
        internal constructor()
        @PublishedApi
        internal constructor(x: aws.sdk.kotlin.services.medialive.model.PauseStateScheduleActionSettings) : this() {
            this.pipelines = x.pipelines
        }

        @PublishedApi
        internal fun build(): aws.sdk.kotlin.services.medialive.model.PauseStateScheduleActionSettings = PauseStateScheduleActionSettings(this)
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy