
commonMain.aws.sdk.kotlin.services.medialive.model.DvbSdtSettings.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.medialive.model
/**
* DVB Service Description Table (SDT)
*/
public class DvbSdtSettings private constructor(builder: Builder) {
/**
* Selects method of inserting SDT information into output stream. The sdtFollow setting copies SDT information from input stream to output stream. The sdtFollowIfPresent setting copies SDT information from input stream to output stream if SDT information is present in the input, otherwise it will fall back on the user-defined values. The sdtManual setting means user will enter the SDT information. The sdtNone setting means output stream will not contain SDT information.
*/
public val outputSdt: aws.sdk.kotlin.services.medialive.model.DvbSdtOutputSdt? = builder.outputSdt
/**
* The number of milliseconds between instances of this table in the output transport stream.
*/
public val repInterval: kotlin.Int = builder.repInterval
/**
* The service name placed in the serviceDescriptor in the Service Description Table. Maximum length is 256 characters.
*/
public val serviceName: kotlin.String? = builder.serviceName
/**
* The service provider name placed in the serviceDescriptor in the Service Description Table. Maximum length is 256 characters.
*/
public val serviceProviderName: kotlin.String? = builder.serviceProviderName
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.medialive.model.DvbSdtSettings = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("DvbSdtSettings(")
append("outputSdt=$outputSdt,")
append("repInterval=$repInterval,")
append("serviceName=$serviceName,")
append("serviceProviderName=$serviceProviderName")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = outputSdt?.hashCode() ?: 0
result = 31 * result + (repInterval)
result = 31 * result + (serviceName?.hashCode() ?: 0)
result = 31 * result + (serviceProviderName?.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 DvbSdtSettings
if (outputSdt != other.outputSdt) return false
if (repInterval != other.repInterval) return false
if (serviceName != other.serviceName) return false
if (serviceProviderName != other.serviceProviderName) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.medialive.model.DvbSdtSettings = Builder(this).apply(block).build()
public class Builder {
/**
* Selects method of inserting SDT information into output stream. The sdtFollow setting copies SDT information from input stream to output stream. The sdtFollowIfPresent setting copies SDT information from input stream to output stream if SDT information is present in the input, otherwise it will fall back on the user-defined values. The sdtManual setting means user will enter the SDT information. The sdtNone setting means output stream will not contain SDT information.
*/
public var outputSdt: aws.sdk.kotlin.services.medialive.model.DvbSdtOutputSdt? = null
/**
* The number of milliseconds between instances of this table in the output transport stream.
*/
public var repInterval: kotlin.Int = 0
/**
* The service name placed in the serviceDescriptor in the Service Description Table. Maximum length is 256 characters.
*/
public var serviceName: kotlin.String? = null
/**
* The service provider name placed in the serviceDescriptor in the Service Description Table. Maximum length is 256 characters.
*/
public var serviceProviderName: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.medialive.model.DvbSdtSettings) : this() {
this.outputSdt = x.outputSdt
this.repInterval = x.repInterval
this.serviceName = x.serviceName
this.serviceProviderName = x.serviceProviderName
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.medialive.model.DvbSdtSettings = DvbSdtSettings(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy