All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.mediapackage.kotlin.enums.OriginEndpointAdsOnDeliveryRestrictions.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 0.122.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.mediapackage.kotlin.enums

import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress

/**
 * This setting allows the delivery restriction flags on SCTE-35 segmentation descriptors to determine whether a message signals an ad.  Choosing "NONE" means no SCTE-35 messages become ads.  Choosing "RESTRICTED" means SCTE-35 messages of the types specified in AdTriggers that contain delivery restrictions will be treated as ads.  Choosing "UNRESTRICTED" means SCTE-35 messages of the types specified in AdTriggers that do not contain delivery restrictions will be treated as ads.  Choosing "BOTH" means all SCTE-35 messages of the types specified in AdTriggers will be treated as ads.  Note that Splice Insert messages do not have these flags and are always treated as ads if specified in AdTriggers.
 */
public enum class OriginEndpointAdsOnDeliveryRestrictions(
    public val javaValue: com.pulumi.awsnative.mediapackage.enums.OriginEndpointAdsOnDeliveryRestrictions,
) :
    ConvertibleToJava {
    None(com.pulumi.awsnative.mediapackage.enums.OriginEndpointAdsOnDeliveryRestrictions.None),
    Restricted(com.pulumi.awsnative.mediapackage.enums.OriginEndpointAdsOnDeliveryRestrictions.Restricted),
    Unrestricted(com.pulumi.awsnative.mediapackage.enums.OriginEndpointAdsOnDeliveryRestrictions.Unrestricted),
    Both(com.pulumi.awsnative.mediapackage.enums.OriginEndpointAdsOnDeliveryRestrictions.Both),
    ;

    override fun toJava(): com.pulumi.awsnative.mediapackage.enums.OriginEndpointAdsOnDeliveryRestrictions = javaValue

    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.mediapackage.enums.OriginEndpointAdsOnDeliveryRestrictions): OriginEndpointAdsOnDeliveryRestrictions =
            OriginEndpointAdsOnDeliveryRestrictions.values().first { it.javaValue == javaType }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy