![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.mediatailor.kotlin.inputs.GetLiveSourcePlainArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.mediatailor.kotlin.inputs
import com.pulumi.awsnative.mediatailor.inputs.GetLiveSourcePlainArgs.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 liveSourceName The name that's used to refer to a live source.
* @property sourceLocationName The name of the source location.
*/
public data class GetLiveSourcePlainArgs(
public val liveSourceName: String,
public val sourceLocationName: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.mediatailor.inputs.GetLiveSourcePlainArgs =
com.pulumi.awsnative.mediatailor.inputs.GetLiveSourcePlainArgs.builder()
.liveSourceName(liveSourceName.let({ args0 -> args0 }))
.sourceLocationName(sourceLocationName.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetLiveSourcePlainArgs].
*/
@PulumiTagMarker
public class GetLiveSourcePlainArgsBuilder internal constructor() {
private var liveSourceName: String? = null
private var sourceLocationName: String? = null
/**
* @param value The name that's used to refer to a live source.
*/
@JvmName("iqvlugtxmerhobkj")
public suspend fun liveSourceName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.liveSourceName = mapped
}
/**
* @param value The name of the source location.
*/
@JvmName("ststpcomivrrpllf")
public suspend fun sourceLocationName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.sourceLocationName = mapped
}
internal fun build(): GetLiveSourcePlainArgs = GetLiveSourcePlainArgs(
liveSourceName = liveSourceName ?: throw PulumiNullFieldException("liveSourceName"),
sourceLocationName = sourceLocationName ?: throw PulumiNullFieldException("sourceLocationName"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy