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

com.pulumi.awsnative.mediatailor.kotlin.VodSourceArgs.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.11.0.0
Show newest version
@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>) { this.httpPackageConfigurations = Output.all(values) } /** * @param value The name of the source location that the VOD source is associated with. */ @JvmName("ymjfciyutgtrmobs") public suspend fun sourceLocationName(`value`: Output) { this.sourceLocationName = value } /** * @param value The tags to assign to the VOD source. */ @JvmName("oqydsaxsmcytfxbp") public suspend fun tags(`value`: Output>) { this.tags = value } @JvmName("lyxkgblsjbrnqnba") public suspend fun tags(vararg values: Output) { this.tags = Output.all(values.asList()) } /** * @param values The tags to assign to the VOD source. */ @JvmName("mwlrahlvmqfwlayn") public suspend fun tags(values: List>) { this.tags = Output.all(values) } /** * @param value The name of the VOD source. */ @JvmName("ddpbtjmvctognlxi") public suspend fun vodSourceName(`value`: Output) { this.vodSourceName = value } /** * @param value

A list of HTTP package configuration parameters for this VOD source.

*/ @JvmName("ydjeioihasyhbqdl") public suspend fun httpPackageConfigurations(`value`: List?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.httpPackageConfigurations = mapped } /** * @param argument

A list of HTTP package configuration parameters for this VOD source.

*/ @JvmName("ysyfrexaxukxywnp") public suspend fun httpPackageConfigurations(argument: List Unit>) { val toBeMapped = argument.toList().map { VodSourceHttpPackageConfigurationArgsBuilder().applySuspend { it() }.build() } val mapped = of(toBeMapped) this.httpPackageConfigurations = mapped } /** * @param argument

A list of HTTP package configuration parameters for this VOD source.

*/ @JvmName("mebicqfabcuuhqii") public suspend fun httpPackageConfigurations(vararg argument: suspend VodSourceHttpPackageConfigurationArgsBuilder.() -> Unit) { val toBeMapped = argument.toList().map { VodSourceHttpPackageConfigurationArgsBuilder().applySuspend { it() }.build() } val mapped = of(toBeMapped) this.httpPackageConfigurations = mapped } /** * @param argument

A list of HTTP package configuration parameters for this VOD source.

*/ @JvmName("ribyhaojviifksem") public suspend fun httpPackageConfigurations(argument: suspend VodSourceHttpPackageConfigurationArgsBuilder.() -> Unit) { val toBeMapped = listOf( VodSourceHttpPackageConfigurationArgsBuilder().applySuspend { argument() }.build(), ) val mapped = of(toBeMapped) this.httpPackageConfigurations = mapped } /** * @param values

A list of HTTP package configuration parameters for this VOD source.

*/ @JvmName("secwsncyuaenwxhl") public suspend fun httpPackageConfigurations(vararg values: VodSourceHttpPackageConfigurationArgs) { val toBeMapped = values.toList() val mapped = toBeMapped.let({ args0 -> of(args0) }) this.httpPackageConfigurations = mapped } /** * @param value The name of the source location that the VOD source is associated with. */ @JvmName("drtprxjonojrgdjv") public suspend fun sourceLocationName(`value`: String?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.sourceLocationName = mapped } /** * @param value The tags to assign to the VOD source. */ @JvmName("mrxsmnfaxjexfeib") public suspend fun tags(`value`: List?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.tags = mapped } /** * @param argument The tags to assign to the VOD source. */ @JvmName("tmiljrsvqrnoiidy") public suspend fun tags(argument: List Unit>) { val toBeMapped = argument.toList().map { TagArgsBuilder().applySuspend { it() }.build() } val mapped = of(toBeMapped) this.tags = mapped } /** * @param argument The tags to assign to the VOD source. */ @JvmName("nvrogggxikopussa") public suspend fun tags(vararg argument: suspend TagArgsBuilder.() -> Unit) { val toBeMapped = argument.toList().map { TagArgsBuilder().applySuspend { it() }.build() } val mapped = of(toBeMapped) this.tags = mapped } /** * @param argument The tags to assign to the VOD source. */ @JvmName("mcgboslegmbouaqj") public suspend fun tags(argument: suspend TagArgsBuilder.() -> Unit) { val toBeMapped = listOf(TagArgsBuilder().applySuspend { argument() }.build()) val mapped = of(toBeMapped) this.tags = mapped } /** * @param values The tags to assign to the VOD source. */ @JvmName("xdyigtowhnlpwfwq") public suspend fun tags(vararg values: TagArgs) { val toBeMapped = values.toList() val mapped = toBeMapped.let({ args0 -> of(args0) }) this.tags = mapped } /** * @param value The name of the VOD source. */ @JvmName("tojrjllgsribamhw") public suspend fun vodSourceName(`value`: String?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.vodSourceName = mapped } internal fun build(): VodSourceArgs = VodSourceArgs( httpPackageConfigurations = httpPackageConfigurations, sourceLocationName = sourceLocationName, tags = tags, vodSourceName = vodSourceName, ) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy