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

com.pulumi.awsnative.mediatailor.kotlin.LiveSourceArgs.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.mediatailor.kotlin

import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.awsnative.mediatailor.LiveSourceArgs.builder
import com.pulumi.awsnative.mediatailor.kotlin.inputs.LiveSourceHttpPackageConfigurationArgs
import com.pulumi.awsnative.mediatailor.kotlin.inputs.LiveSourceHttpPackageConfigurationArgsBuilder
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::LiveSource Resource Type
 * @property httpPackageConfigurations 

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

* @property liveSourceName The name that's used to refer to a live source. * @property sourceLocationName The name of the source location. * @property tags The tags to assign to the live source. */ public data class LiveSourceArgs( public val httpPackageConfigurations: Output>? = null, public val liveSourceName: Output? = null, public val sourceLocationName: Output? = null, public val tags: Output>? = null, ) : ConvertibleToJava { override fun toJava(): com.pulumi.awsnative.mediatailor.LiveSourceArgs = com.pulumi.awsnative.mediatailor.LiveSourceArgs.builder() .httpPackageConfigurations( httpPackageConfigurations?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }), ) .liveSourceName(liveSourceName?.applyValue({ args0 -> args0 })) .sourceLocationName(sourceLocationName?.applyValue({ args0 -> args0 })) .tags( tags?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }), ).build() } /** * Builder for [LiveSourceArgs]. */ @PulumiTagMarker public class LiveSourceArgsBuilder internal constructor() { private var httpPackageConfigurations: Output>? = null private var liveSourceName: Output? = null private var sourceLocationName: Output? = null private var tags: Output>? = null /** * @param value

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

*/ @JvmName("klafvpbeddrpuimn") public suspend fun httpPackageConfigurations(`value`: Output>) { this.httpPackageConfigurations = value } @JvmName("ythngdvrkknoljus") public suspend fun httpPackageConfigurations(vararg values: Output) { this.httpPackageConfigurations = Output.all(values.asList()) } /** * @param values

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

*/ @JvmName("gpgvgqdjbngisbpr") public suspend fun httpPackageConfigurations(values: List>) { this.httpPackageConfigurations = Output.all(values) } /** * @param value The name that's used to refer to a live source. */ @JvmName("iqfjprfxxcyxqwbe") public suspend fun liveSourceName(`value`: Output) { this.liveSourceName = value } /** * @param value The name of the source location. */ @JvmName("juuiwmdupluladpg") public suspend fun sourceLocationName(`value`: Output) { this.sourceLocationName = value } /** * @param value The tags to assign to the live source. */ @JvmName("sqhpjecameuokyqq") public suspend fun tags(`value`: Output>) { this.tags = value } @JvmName("vluivmlvwjspkein") public suspend fun tags(vararg values: Output) { this.tags = Output.all(values.asList()) } /** * @param values The tags to assign to the live source. */ @JvmName("pdrqypeuiqcvewxo") public suspend fun tags(values: List>) { this.tags = Output.all(values) } /** * @param value

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

*/ @JvmName("ahrrgoboohnptsua") 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 live source.

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

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

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

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

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

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

*/ @JvmName("vbjqbaftowoxwhtq") public suspend fun httpPackageConfigurations(vararg values: LiveSourceHttpPackageConfigurationArgs) { val toBeMapped = values.toList() val mapped = toBeMapped.let({ args0 -> of(args0) }) this.httpPackageConfigurations = mapped } /** * @param value The name that's used to refer to a live source. */ @JvmName("myyuvfpqttktatgw") public suspend fun liveSourceName(`value`: String?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.liveSourceName = mapped } /** * @param value The name of the source location. */ @JvmName("ninkrowdnsxiwxll") 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 live source. */ @JvmName("pipjqhwmwrfnixhp") 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 live source. */ @JvmName("cumevfmxgeotqwal") 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 live source. */ @JvmName("lbvxkbpvedevpsvf") 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 live source. */ @JvmName("kvuxfobesrwukphl") 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 live source. */ @JvmName("kysfbgvcvwdfejwm") public suspend fun tags(vararg values: TagArgs) { val toBeMapped = values.toList() val mapped = toBeMapped.let({ args0 -> of(args0) }) this.tags = mapped } internal fun build(): LiveSourceArgs = LiveSourceArgs( httpPackageConfigurations = httpPackageConfigurations, liveSourceName = liveSourceName, sourceLocationName = sourceLocationName, tags = tags, ) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy