
commonMain.aws.sdk.kotlin.services.medialive.model.StandardHlsSettings.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.medialive.model
/**
* Standard Hls Settings
*/
public class StandardHlsSettings private constructor(builder: Builder) {
/**
* List all the audio groups that are used with the video output stream. Input all the audio GROUP-IDs that are associated to the video, separate by ','.
*/
public val audioRenditionSets: kotlin.String? = builder.audioRenditionSets
/**
* Settings information for the .m3u8 container
*/
public val m3U8Settings: aws.sdk.kotlin.services.medialive.model.M3U8Settings? = builder.m3U8Settings
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.medialive.model.StandardHlsSettings = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("StandardHlsSettings(")
append("audioRenditionSets=$audioRenditionSets,")
append("m3U8Settings=$m3U8Settings")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = audioRenditionSets?.hashCode() ?: 0
result = 31 * result + (m3U8Settings?.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 StandardHlsSettings
if (audioRenditionSets != other.audioRenditionSets) return false
if (m3U8Settings != other.m3U8Settings) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.medialive.model.StandardHlsSettings = Builder(this).apply(block).build()
public class Builder {
/**
* List all the audio groups that are used with the video output stream. Input all the audio GROUP-IDs that are associated to the video, separate by ','.
*/
public var audioRenditionSets: kotlin.String? = null
/**
* Settings information for the .m3u8 container
*/
public var m3U8Settings: aws.sdk.kotlin.services.medialive.model.M3U8Settings? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.medialive.model.StandardHlsSettings) : this() {
this.audioRenditionSets = x.audioRenditionSets
this.m3U8Settings = x.m3U8Settings
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.medialive.model.StandardHlsSettings = StandardHlsSettings(this)
/**
* construct an [aws.sdk.kotlin.services.medialive.model.M3U8Settings] inside the given [block]
*/
public fun m3U8Settings(block: aws.sdk.kotlin.services.medialive.model.M3U8Settings.Builder.() -> kotlin.Unit) {
this.m3U8Settings = aws.sdk.kotlin.services.medialive.model.M3U8Settings.invoke(block)
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy