![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.datazone.kotlin.inputs.GetDataSourcePlainArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.datazone.kotlin.inputs
import com.pulumi.awsnative.datazone.inputs.GetDataSourcePlainArgs.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 domainId The ID of the Amazon DataZone domain where the data source is created.
* @property id The unique identifier of the data source.
*/
public data class GetDataSourcePlainArgs(
public val domainId: String,
public val id: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.datazone.inputs.GetDataSourcePlainArgs =
com.pulumi.awsnative.datazone.inputs.GetDataSourcePlainArgs.builder()
.domainId(domainId.let({ args0 -> args0 }))
.id(id.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetDataSourcePlainArgs].
*/
@PulumiTagMarker
public class GetDataSourcePlainArgsBuilder internal constructor() {
private var domainId: String? = null
private var id: String? = null
/**
* @param value The ID of the Amazon DataZone domain where the data source is created.
*/
@JvmName("wmujbgdhkycukgdg")
public suspend fun domainId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.domainId = mapped
}
/**
* @param value The unique identifier of the data source.
*/
@JvmName("doevqvgphrgywvjy")
public suspend fun id(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.id = mapped
}
internal fun build(): GetDataSourcePlainArgs = GetDataSourcePlainArgs(
domainId = domainId ?: throw PulumiNullFieldException("domainId"),
id = id ?: throw PulumiNullFieldException("id"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy