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

commonMain.aws.sdk.kotlin.services.chimesdkmeetings.model.MediaPlacement.kt Maven / Gradle / Ivy

There is a newer version: 1.3.35
Show newest version
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!

package aws.sdk.kotlin.services.chimesdkmeetings.model

import aws.smithy.kotlin.runtime.SdkDsl

/**
 * A set of endpoints used by clients to connect to the media service group for an Amazon Chime SDK meeting.
 */
public class MediaPlacement private constructor(builder: Builder) {
    /**
     * The audio fallback URL.
     */
    public val audioFallbackUrl: kotlin.String? = builder.audioFallbackUrl
    /**
     * The audio host URL.
     */
    public val audioHostUrl: kotlin.String? = builder.audioHostUrl
    /**
     * The event ingestion URL.
     */
    public val eventIngestionUrl: kotlin.String? = builder.eventIngestionUrl
    /**
     * The screen data URL.
     *
     * **This parameter is deprecated and no longer used by the Amazon Chime SDK.**
     */
    public val screenDataUrl: kotlin.String? = builder.screenDataUrl
    /**
     * The screen sharing URL.
     *
     * **This parameter is deprecated and no longer used by the Amazon Chime SDK.**
     */
    public val screenSharingUrl: kotlin.String? = builder.screenSharingUrl
    /**
     * The screen viewing URL.
     *
     * **This parameter is deprecated and no longer used by the Amazon Chime SDK.**
     */
    public val screenViewingUrl: kotlin.String? = builder.screenViewingUrl
    /**
     * The signaling URL.
     */
    public val signalingUrl: kotlin.String? = builder.signalingUrl
    /**
     * The turn control URL.
     *
     * **This parameter is deprecated and no longer used by the Amazon Chime SDK.**
     */
    public val turnControlUrl: kotlin.String? = builder.turnControlUrl

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

    override fun toString(): kotlin.String = buildString {
        append("MediaPlacement(")
        append("audioFallbackUrl=$audioFallbackUrl,")
        append("audioHostUrl=$audioHostUrl,")
        append("eventIngestionUrl=$eventIngestionUrl,")
        append("screenDataUrl=$screenDataUrl,")
        append("screenSharingUrl=$screenSharingUrl,")
        append("screenViewingUrl=$screenViewingUrl,")
        append("signalingUrl=$signalingUrl,")
        append("turnControlUrl=$turnControlUrl")
        append(")")
    }

    override fun hashCode(): kotlin.Int {
        var result = audioFallbackUrl?.hashCode() ?: 0
        result = 31 * result + (audioHostUrl?.hashCode() ?: 0)
        result = 31 * result + (eventIngestionUrl?.hashCode() ?: 0)
        result = 31 * result + (screenDataUrl?.hashCode() ?: 0)
        result = 31 * result + (screenSharingUrl?.hashCode() ?: 0)
        result = 31 * result + (screenViewingUrl?.hashCode() ?: 0)
        result = 31 * result + (signalingUrl?.hashCode() ?: 0)
        result = 31 * result + (turnControlUrl?.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 MediaPlacement

        if (audioFallbackUrl != other.audioFallbackUrl) return false
        if (audioHostUrl != other.audioHostUrl) return false
        if (eventIngestionUrl != other.eventIngestionUrl) return false
        if (screenDataUrl != other.screenDataUrl) return false
        if (screenSharingUrl != other.screenSharingUrl) return false
        if (screenViewingUrl != other.screenViewingUrl) return false
        if (signalingUrl != other.signalingUrl) return false
        if (turnControlUrl != other.turnControlUrl) return false

        return true
    }

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

    @SdkDsl
    public class Builder {
        /**
         * The audio fallback URL.
         */
        public var audioFallbackUrl: kotlin.String? = null
        /**
         * The audio host URL.
         */
        public var audioHostUrl: kotlin.String? = null
        /**
         * The event ingestion URL.
         */
        public var eventIngestionUrl: kotlin.String? = null
        /**
         * The screen data URL.
         *
         * **This parameter is deprecated and no longer used by the Amazon Chime SDK.**
         */
        public var screenDataUrl: kotlin.String? = null
        /**
         * The screen sharing URL.
         *
         * **This parameter is deprecated and no longer used by the Amazon Chime SDK.**
         */
        public var screenSharingUrl: kotlin.String? = null
        /**
         * The screen viewing URL.
         *
         * **This parameter is deprecated and no longer used by the Amazon Chime SDK.**
         */
        public var screenViewingUrl: kotlin.String? = null
        /**
         * The signaling URL.
         */
        public var signalingUrl: kotlin.String? = null
        /**
         * The turn control URL.
         *
         * **This parameter is deprecated and no longer used by the Amazon Chime SDK.**
         */
        public var turnControlUrl: kotlin.String? = null

        @PublishedApi
        internal constructor()
        @PublishedApi
        internal constructor(x: aws.sdk.kotlin.services.chimesdkmeetings.model.MediaPlacement) : this() {
            this.audioFallbackUrl = x.audioFallbackUrl
            this.audioHostUrl = x.audioHostUrl
            this.eventIngestionUrl = x.eventIngestionUrl
            this.screenDataUrl = x.screenDataUrl
            this.screenSharingUrl = x.screenSharingUrl
            this.screenViewingUrl = x.screenViewingUrl
            this.signalingUrl = x.signalingUrl
            this.turnControlUrl = x.turnControlUrl
        }

        @PublishedApi
        internal fun build(): aws.sdk.kotlin.services.chimesdkmeetings.model.MediaPlacement = MediaPlacement(this)

        internal fun correctErrors(): Builder {
            return this
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy