
commonMain.aws.sdk.kotlin.services.medialive.model.DvbNitSettings.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.medialive.model
/**
* DVB Network Information Table (NIT)
*/
public class DvbNitSettings private constructor(builder: Builder) {
/**
* The numeric value placed in the Network Information Table (NIT).
*/
public val networkId: kotlin.Int = builder.networkId
/**
* The network name text placed in the networkNameDescriptor inside the Network Information Table. Maximum length is 256 characters.
*/
public val networkName: kotlin.String? = builder.networkName
/**
* The number of milliseconds between instances of this table in the output transport stream.
*/
public val repInterval: kotlin.Int = builder.repInterval
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.medialive.model.DvbNitSettings = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("DvbNitSettings(")
append("networkId=$networkId,")
append("networkName=$networkName,")
append("repInterval=$repInterval")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = networkId
result = 31 * result + (networkName?.hashCode() ?: 0)
result = 31 * result + (repInterval)
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 DvbNitSettings
if (networkId != other.networkId) return false
if (networkName != other.networkName) return false
if (repInterval != other.repInterval) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.medialive.model.DvbNitSettings = Builder(this).apply(block).build()
public class Builder {
/**
* The numeric value placed in the Network Information Table (NIT).
*/
public var networkId: kotlin.Int = 0
/**
* The network name text placed in the networkNameDescriptor inside the Network Information Table. Maximum length is 256 characters.
*/
public var networkName: kotlin.String? = null
/**
* The number of milliseconds between instances of this table in the output transport stream.
*/
public var repInterval: kotlin.Int = 0
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.medialive.model.DvbNitSettings) : this() {
this.networkId = x.networkId
this.networkName = x.networkName
this.repInterval = x.repInterval
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.medialive.model.DvbNitSettings = DvbNitSettings(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy