
commonMain.aws.sdk.kotlin.services.mediaconvert.model.DvbNitSettings.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.mediaconvert.model
/**
* Use these settings to insert a DVB Network Information Table (NIT) in the transport stream of this output.
*/
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 network_name_descriptor 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 nitInterval: kotlin.Int? = builder.nitInterval
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.mediaconvert.model.DvbNitSettings = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("DvbNitSettings(")
append("networkId=$networkId,")
append("networkName=$networkName,")
append("nitInterval=$nitInterval")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = networkId ?: 0
result = 31 * result + (networkName?.hashCode() ?: 0)
result = 31 * result + (nitInterval ?: 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 DvbNitSettings
if (networkId != other.networkId) return false
if (networkName != other.networkName) return false
if (nitInterval != other.nitInterval) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.mediaconvert.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? = null
/**
* The network name text placed in the network_name_descriptor 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 nitInterval: kotlin.Int? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.mediaconvert.model.DvbNitSettings) : this() {
this.networkId = x.networkId
this.networkName = x.networkName
this.nitInterval = x.nitInterval
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.mediaconvert.model.DvbNitSettings = DvbNitSettings(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy