com.pulumi.awsnative.mediapackage.kotlin.enums.OriginEndpointDashPackageSegmentTemplateFormat.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.mediapackage.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* Determines the type of SegmentTemplate included in the Media Presentation Description (MPD). When set to NUMBER_WITH_TIMELINE, a full timeline is presented in each SegmentTemplate, with $Number$ media URLs. When set to TIME_WITH_TIMELINE, a full timeline is presented in each SegmentTemplate, with $Time$ media URLs. When set to NUMBER_WITH_DURATION, only a duration is included in each SegmentTemplate, with $Number$ media URLs.
*/
public enum class OriginEndpointDashPackageSegmentTemplateFormat(
public val javaValue: com.pulumi.awsnative.mediapackage.enums.OriginEndpointDashPackageSegmentTemplateFormat,
) :
ConvertibleToJava {
NumberWithTimeline(com.pulumi.awsnative.mediapackage.enums.OriginEndpointDashPackageSegmentTemplateFormat.NumberWithTimeline),
TimeWithTimeline(com.pulumi.awsnative.mediapackage.enums.OriginEndpointDashPackageSegmentTemplateFormat.TimeWithTimeline),
NumberWithDuration(com.pulumi.awsnative.mediapackage.enums.OriginEndpointDashPackageSegmentTemplateFormat.NumberWithDuration),
;
override fun toJava(): com.pulumi.awsnative.mediapackage.enums.OriginEndpointDashPackageSegmentTemplateFormat =
javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.mediapackage.enums.OriginEndpointDashPackageSegmentTemplateFormat): OriginEndpointDashPackageSegmentTemplateFormat =
OriginEndpointDashPackageSegmentTemplateFormat.values().first { it.javaValue == javaType }
}
}