commonMain.aws.sdk.kotlin.services.mediaconvert.model.DvbSdtSettings.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mediaconvert Show documentation
Show all versions of mediaconvert Show documentation
The AWS SDK for Kotlin client for MediaConvert
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.mediaconvert.model
/**
* Use these settings to insert a DVB Service Description Table (SDT) in the transport stream of this output. When you work directly in your JSON job specification, include this object only when your job has a transport stream output and the container settings contain the object M2tsSettings.
*/
public class DvbSdtSettings private constructor(builder: Builder) {
/**
* Selects method of inserting SDT information into output stream. "Follow input SDT" copies SDT information from input stream to output stream. "Follow input SDT if present" 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. Enter "SDT Manually" means user will enter the SDT information. "No SDT" means output stream will not contain SDT information.
*/
public val outputSdt: aws.sdk.kotlin.services.mediaconvert.model.OutputSdt? = builder.outputSdt
/**
* The number of milliseconds between instances of this table in the output transport stream.
*/
public val sdtInterval: kotlin.Int = builder.sdtInterval
/**
* The service name placed in the service_descriptor in the Service Description Table. Maximum length is 256 characters.
*/
public val serviceName: kotlin.String? = builder.serviceName
/**
* The service provider name placed in the service_descriptor 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.mediaconvert.model.DvbSdtSettings = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("DvbSdtSettings(")
append("outputSdt=$outputSdt,")
append("sdtInterval=$sdtInterval,")
append("serviceName=$serviceName,")
append("serviceProviderName=$serviceProviderName")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = outputSdt?.hashCode() ?: 0
result = 31 * result + (sdtInterval)
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 (sdtInterval != other.sdtInterval) 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.mediaconvert.model.DvbSdtSettings = Builder(this).apply(block).build()
public class Builder {
/**
* Selects method of inserting SDT information into output stream. "Follow input SDT" copies SDT information from input stream to output stream. "Follow input SDT if present" 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. Enter "SDT Manually" means user will enter the SDT information. "No SDT" means output stream will not contain SDT information.
*/
public var outputSdt: aws.sdk.kotlin.services.mediaconvert.model.OutputSdt? = null
/**
* The number of milliseconds between instances of this table in the output transport stream.
*/
public var sdtInterval: kotlin.Int = 0
/**
* The service name placed in the service_descriptor in the Service Description Table. Maximum length is 256 characters.
*/
public var serviceName: kotlin.String? = null
/**
* The service provider name placed in the service_descriptor 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.mediaconvert.model.DvbSdtSettings) : this() {
this.outputSdt = x.outputSdt
this.sdtInterval = x.sdtInterval
this.serviceName = x.serviceName
this.serviceProviderName = x.serviceProviderName
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.mediaconvert.model.DvbSdtSettings = DvbSdtSettings(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy