commonMain.aws.sdk.kotlin.services.chimesdkmeetings.model.ContentFeatures.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of chimesdkmeetings-jvm Show documentation
Show all versions of chimesdkmeetings-jvm Show documentation
The AWS SDK for Kotlin client for Chime SDK Meetings
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.chimesdkmeetings.model
import aws.smithy.kotlin.runtime.SdkDsl
/**
* Lists the content (screen share) features for the meeting. Applies to all attendees.
*
* If you specify `MeetingFeatures:Content:MaxResolution:None` when you create a meeting, all API requests that include `SendReceive`, `Send`, or `Receive` for `AttendeeCapabilities:Content` will be rejected with `ValidationError 400`.
*/
public class ContentFeatures private constructor(builder: Builder) {
/**
* The maximum resolution for the meeting content.
*
* Defaults to `FHD`. To use `UHD`, you must also provide a `MeetingFeatures:Attendee:MaxCount` value and override the default size limit of 250 attendees.
*/
public val maxResolution: aws.sdk.kotlin.services.chimesdkmeetings.model.ContentResolution? = builder.maxResolution
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.chimesdkmeetings.model.ContentFeatures = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("ContentFeatures(")
append("maxResolution=$maxResolution")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = maxResolution?.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 ContentFeatures
if (maxResolution != other.maxResolution) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.chimesdkmeetings.model.ContentFeatures = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* The maximum resolution for the meeting content.
*
* Defaults to `FHD`. To use `UHD`, you must also provide a `MeetingFeatures:Attendee:MaxCount` value and override the default size limit of 250 attendees.
*/
public var maxResolution: aws.sdk.kotlin.services.chimesdkmeetings.model.ContentResolution? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.chimesdkmeetings.model.ContentFeatures) : this() {
this.maxResolution = x.maxResolution
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.chimesdkmeetings.model.ContentFeatures = ContentFeatures(this)
internal fun correctErrors(): Builder {
return this
}
}
}