com.pulumi.awsnative.mediatailor.kotlin.VodSourceArgs.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.mediatailor.kotlin
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.awsnative.mediatailor.VodSourceArgs.builder
import com.pulumi.awsnative.mediatailor.kotlin.inputs.VodSourceHttpPackageConfigurationArgs
import com.pulumi.awsnative.mediatailor.kotlin.inputs.VodSourceHttpPackageConfigurationArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Definition of AWS::MediaTailor::VodSource Resource Type
* @property httpPackageConfigurations A list of HTTP package configuration parameters for this VOD source.
* @property sourceLocationName The name of the source location that the VOD source is associated with.
* @property tags The tags to assign to the VOD source.
* @property vodSourceName The name of the VOD source.
*/
public data class VodSourceArgs(
public val httpPackageConfigurations: Output>? = null,
public val sourceLocationName: Output? = null,
public val tags: Output>? = null,
public val vodSourceName: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.mediatailor.VodSourceArgs =
com.pulumi.awsnative.mediatailor.VodSourceArgs.builder()
.httpPackageConfigurations(
httpPackageConfigurations?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.sourceLocationName(sourceLocationName?.applyValue({ args0 -> args0 }))
.tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.vodSourceName(vodSourceName?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [VodSourceArgs].
*/
@PulumiTagMarker
public class VodSourceArgsBuilder internal constructor() {
private var httpPackageConfigurations: Output>? = null
private var sourceLocationName: Output? = null
private var tags: Output>? = null
private var vodSourceName: Output? = null
/**
* @param value A list of HTTP package configuration parameters for this VOD source.
*/
@JvmName("sfxkulnjovfayuoc")
public suspend fun httpPackageConfigurations(`value`: Output>) {
this.httpPackageConfigurations = value
}
@JvmName("gihcqajwrlygdmtb")
public suspend fun httpPackageConfigurations(vararg values: Output) {
this.httpPackageConfigurations = Output.all(values.asList())
}
/**
* @param values A list of HTTP package configuration parameters for this VOD source.
*/
@JvmName("ebotbwdfkgbhsdkw")
public suspend fun httpPackageConfigurations(values: List