commonMain.aws.sdk.kotlin.services.mediaconvert.model.DashIsoMpdProfile.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
import kotlin.collections.List
/**
* Specify whether your DASH profile is on-demand or main. When you choose Main profile (MAIN_PROFILE), the service signals urn:mpeg:dash:profile:isoff-main:2011 in your .mpd DASH manifest. When you choose On-demand (ON_DEMAND_PROFILE), the service signals urn:mpeg:dash:profile:isoff-on-demand:2011 in your .mpd. When you choose On-demand, you must also set the output group setting Segment control (SegmentControl) to Single file (SINGLE_FILE).
*/
public sealed class DashIsoMpdProfile {
public abstract val value: kotlin.String
public object MainProfile : aws.sdk.kotlin.services.mediaconvert.model.DashIsoMpdProfile() {
override val value: kotlin.String = "MAIN_PROFILE"
override fun toString(): kotlin.String = value
}
public object OnDemandProfile : aws.sdk.kotlin.services.mediaconvert.model.DashIsoMpdProfile() {
override val value: kotlin.String = "ON_DEMAND_PROFILE"
override fun toString(): kotlin.String = value
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.mediaconvert.model.DashIsoMpdProfile() {
override fun toString(): kotlin.String = value
}
public companion object {
/**
* Convert a raw value to one of the sealed variants or [SdkUnknown]
*/
public fun fromValue(str: kotlin.String): aws.sdk.kotlin.services.mediaconvert.model.DashIsoMpdProfile = when(str) {
"MAIN_PROFILE" -> MainProfile
"ON_DEMAND_PROFILE" -> OnDemandProfile
else -> SdkUnknown(str)
}
/**
* Get a list of all possible variants
*/
public fun values(): kotlin.collections.List = listOf(
MainProfile,
OnDemandProfile
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy