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

com.pulumi.awsnative.mediatailor.kotlin.inputs.VodSourceHttpPackageConfigurationArgs.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: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import com.pulumi.awsnative.mediatailor.inputs.VodSourceHttpPackageConfigurationArgs.builder
import com.pulumi.awsnative.mediatailor.kotlin.enums.VodSourceType
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 VodSourceHttpPackageConfigurationArgs( public val path: Output, public val sourceGroup: Output, public val type: Output, ) : ConvertibleToJava { override fun toJava(): com.pulumi.awsnative.mediatailor.inputs.VodSourceHttpPackageConfigurationArgs = com.pulumi.awsnative.mediatailor.inputs.VodSourceHttpPackageConfigurationArgs.builder() .path(path.applyValue({ args0 -> args0 })) .sourceGroup(sourceGroup.applyValue({ args0 -> args0 })) .type(type.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build() } /** * Builder for [VodSourceHttpPackageConfigurationArgs]. */ @PulumiTagMarker public class VodSourceHttpPackageConfigurationArgsBuilder 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("soedkselmobtshnj") 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("gkvxwqdrbbgmkwni") 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("chmjhyrxuwuqwydf") 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("qblrchxvusadpqqp") 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("lmrlplroxjlvneok") 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("swwbymtldcgfnruk") public suspend fun type(`value`: VodSourceType) { val toBeMapped = value val mapped = toBeMapped.let({ args0 -> of(args0) }) this.type = mapped } internal fun build(): VodSourceHttpPackageConfigurationArgs = VodSourceHttpPackageConfigurationArgs( path = path ?: throw PulumiNullFieldException("path"), sourceGroup = sourceGroup ?: throw PulumiNullFieldException("sourceGroup"), type = type ?: throw PulumiNullFieldException("type"), ) }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy