
com.pulumi.awsnative.mediatailor.kotlin.inputs.GetVodSourcePlainArgs.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.inputs
import com.pulumi.awsnative.mediatailor.inputs.GetVodSourcePlainArgs.builder
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
/**
*
* @property sourceLocationName The name of the source location that the VOD source is associated with.
* @property vodSourceName The name of the VOD source.
*/
public data class GetVodSourcePlainArgs(
public val sourceLocationName: String,
public val vodSourceName: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.mediatailor.inputs.GetVodSourcePlainArgs =
com.pulumi.awsnative.mediatailor.inputs.GetVodSourcePlainArgs.builder()
.sourceLocationName(sourceLocationName.let({ args0 -> args0 }))
.vodSourceName(vodSourceName.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetVodSourcePlainArgs].
*/
@PulumiTagMarker
public class GetVodSourcePlainArgsBuilder internal constructor() {
private var sourceLocationName: String? = null
private var vodSourceName: String? = null
/**
* @param value The name of the source location that the VOD source is associated with.
*/
@JvmName("lkwxkxwimygdpmev")
public suspend fun sourceLocationName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.sourceLocationName = mapped
}
/**
* @param value The name of the VOD source.
*/
@JvmName("vnmtgcubbbdkoyur")
public suspend fun vodSourceName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.vodSourceName = mapped
}
internal fun build(): GetVodSourcePlainArgs = GetVodSourcePlainArgs(
sourceLocationName = sourceLocationName ?: throw PulumiNullFieldException("sourceLocationName"),
vodSourceName = vodSourceName ?: throw PulumiNullFieldException("vodSourceName"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy