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

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

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

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



/**
 * Reference to an OutputDestination ID defined in the channel
 */
public class OutputLocationRef private constructor(builder: Builder) {
    /**
     * Placeholder documentation for __string
     */
    public val destinationRefId: kotlin.String? = builder.destinationRefId

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

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

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

        if (destinationRefId != other.destinationRefId) return false

        return true
    }

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

    public class Builder {
        /**
         * Placeholder documentation for __string
         */
        public var destinationRefId: kotlin.String? = null

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy