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

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

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

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



/**
 * Feature Activations
 */
public class FeatureActivations private constructor(builder: Builder) {
    /**
     * Enables the Input Prepare feature. You can create Input Prepare actions in the schedule only if this feature is enabled. If you disable the feature on an existing schedule, make sure that you first delete all input prepare actions from the schedule.
     */
    public val inputPrepareScheduleActions: aws.sdk.kotlin.services.medialive.model.FeatureActivationsInputPrepareScheduleActions? = builder.inputPrepareScheduleActions

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

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

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

        if (inputPrepareScheduleActions != other.inputPrepareScheduleActions) return false

        return true
    }

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

    public class Builder {
        /**
         * Enables the Input Prepare feature. You can create Input Prepare actions in the schedule only if this feature is enabled. If you disable the feature on an existing schedule, make sure that you first delete all input prepare actions from the schedule.
         */
        public var inputPrepareScheduleActions: aws.sdk.kotlin.services.medialive.model.FeatureActivationsInputPrepareScheduleActions? = null

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy