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

com.pulumi.awsnative.mediatailor.kotlin.inputs.LiveSourceHttpPackageConfigurationArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.mediatailor.kotlin.inputs

import com.pulumi.awsnative.mediatailor.inputs.LiveSourceHttpPackageConfigurationArgs.builder
import com.pulumi.awsnative.mediatailor.kotlin.enums.LiveSourceType
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * 

The HTTP package configuration properties for the requested VOD source.

* @property path

The relative path to the URL for this VOD source. This is combined with SourceLocation::HttpConfiguration::BaseUrl to form a valid URL.

* @property sourceGroup

The name of the source group. This has to match one of the Channel::Outputs::SourceGroup.

* @property type The streaming protocol for this package configuration. Supported values are `HLS` and `DASH` . */ public data class LiveSourceHttpPackageConfigurationArgs( public val path: Output, public val sourceGroup: Output, public val type: Output, ) : ConvertibleToJava { override fun toJava(): com.pulumi.awsnative.mediatailor.inputs.LiveSourceHttpPackageConfigurationArgs = com.pulumi.awsnative.mediatailor.inputs.LiveSourceHttpPackageConfigurationArgs.builder() .path(path.applyValue({ args0 -> args0 })) .sourceGroup(sourceGroup.applyValue({ args0 -> args0 })) .type(type.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build() } /** * Builder for [LiveSourceHttpPackageConfigurationArgs]. */ @PulumiTagMarker public class LiveSourceHttpPackageConfigurationArgsBuilder internal constructor() { private var path: Output? = null private var sourceGroup: Output? = null private var type: Output? = null /** * @param value

The relative path to the URL for this VOD source. This is combined with SourceLocation::HttpConfiguration::BaseUrl to form a valid URL.

*/ @JvmName("lgsaavmdcgjmhebr") public suspend fun path(`value`: Output) { this.path = value } /** * @param value

The name of the source group. This has to match one of the Channel::Outputs::SourceGroup.

*/ @JvmName("wvbyonlhgbcptljp") public suspend fun sourceGroup(`value`: Output) { this.sourceGroup = value } /** * @param value The streaming protocol for this package configuration. Supported values are `HLS` and `DASH` . */ @JvmName("icsvpsrlivkxygqc") public suspend fun type(`value`: Output) { this.type = value } /** * @param value

The relative path to the URL for this VOD source. This is combined with SourceLocation::HttpConfiguration::BaseUrl to form a valid URL.

*/ @JvmName("vjabjnbiargkvwyq") public suspend fun path(`value`: String) { val toBeMapped = value val mapped = toBeMapped.let({ args0 -> of(args0) }) this.path = mapped } /** * @param value

The name of the source group. This has to match one of the Channel::Outputs::SourceGroup.

*/ @JvmName("xgjxbqwqgjwiqfpk") public suspend fun sourceGroup(`value`: String) { val toBeMapped = value val mapped = toBeMapped.let({ args0 -> of(args0) }) this.sourceGroup = mapped } /** * @param value The streaming protocol for this package configuration. Supported values are `HLS` and `DASH` . */ @JvmName("akmhknjnjutkomvc") public suspend fun type(`value`: LiveSourceType) { val toBeMapped = value val mapped = toBeMapped.let({ args0 -> of(args0) }) this.type = mapped } internal fun build(): LiveSourceHttpPackageConfigurationArgs = LiveSourceHttpPackageConfigurationArgs( path = path ?: throw PulumiNullFieldException("path"), sourceGroup = sourceGroup ?: throw PulumiNullFieldException("sourceGroup"), type = type ?: throw PulumiNullFieldException("type"), ) }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy