
commonMain.aws.sdk.kotlin.services.mediaconvert.model.ExtendedDataServices.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.mediaconvert.model
/**
* If your source content has EIA-608 Line 21 Data Services, enable this feature to specify what MediaConvert does with the Extended Data Services (XDS) packets. You can choose to pass through XDS packets, or remove them from the output. For more information about XDS, see EIA-608 Line Data Services, section 9.5.1.5 05h Content Advisory.
*/
public class ExtendedDataServices private constructor(builder: Builder) {
/**
* The action to take on copy and redistribution control XDS packets. If you select PASSTHROUGH, packets will not be changed. If you select STRIP, any packets will be removed in output captions.
*/
public val copyProtectionAction: aws.sdk.kotlin.services.mediaconvert.model.CopyProtectionAction? = builder.copyProtectionAction
/**
* The action to take on content advisory XDS packets. If you select PASSTHROUGH, packets will not be changed. If you select STRIP, any packets will be removed in output captions.
*/
public val vchipAction: aws.sdk.kotlin.services.mediaconvert.model.VchipAction? = builder.vchipAction
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.mediaconvert.model.ExtendedDataServices = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("ExtendedDataServices(")
append("copyProtectionAction=$copyProtectionAction,")
append("vchipAction=$vchipAction")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = copyProtectionAction?.hashCode() ?: 0
result = 31 * result + (vchipAction?.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 ExtendedDataServices
if (copyProtectionAction != other.copyProtectionAction) return false
if (vchipAction != other.vchipAction) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.mediaconvert.model.ExtendedDataServices = Builder(this).apply(block).build()
public class Builder {
/**
* The action to take on copy and redistribution control XDS packets. If you select PASSTHROUGH, packets will not be changed. If you select STRIP, any packets will be removed in output captions.
*/
public var copyProtectionAction: aws.sdk.kotlin.services.mediaconvert.model.CopyProtectionAction? = null
/**
* The action to take on content advisory XDS packets. If you select PASSTHROUGH, packets will not be changed. If you select STRIP, any packets will be removed in output captions.
*/
public var vchipAction: aws.sdk.kotlin.services.mediaconvert.model.VchipAction? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.mediaconvert.model.ExtendedDataServices) : this() {
this.copyProtectionAction = x.copyProtectionAction
this.vchipAction = x.vchipAction
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.mediaconvert.model.ExtendedDataServices = ExtendedDataServices(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy