
commonMain.aws.sdk.kotlin.services.medialive.model.AudioHlsRenditionSelection.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.medialive.model
/**
* Audio Hls Rendition Selection
*/
public class AudioHlsRenditionSelection private constructor(builder: Builder) {
/**
* Specifies the GROUP-ID in the #EXT-X-MEDIA tag of the target HLS audio rendition.
*/
public val groupId: kotlin.String? = builder.groupId
/**
* Specifies the NAME in the #EXT-X-MEDIA tag of the target HLS audio rendition.
*/
public val name: kotlin.String? = builder.name
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.medialive.model.AudioHlsRenditionSelection = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("AudioHlsRenditionSelection(")
append("groupId=$groupId,")
append("name=$name")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = groupId?.hashCode() ?: 0
result = 31 * result + (name?.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 AudioHlsRenditionSelection
if (groupId != other.groupId) return false
if (name != other.name) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.medialive.model.AudioHlsRenditionSelection = Builder(this).apply(block).build()
public class Builder {
/**
* Specifies the GROUP-ID in the #EXT-X-MEDIA tag of the target HLS audio rendition.
*/
public var groupId: kotlin.String? = null
/**
* Specifies the NAME in the #EXT-X-MEDIA tag of the target HLS audio rendition.
*/
public var name: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.medialive.model.AudioHlsRenditionSelection) : this() {
this.groupId = x.groupId
this.name = x.name
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.medialive.model.AudioHlsRenditionSelection = AudioHlsRenditionSelection(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy