
com.pulumi.awsnative.cleanrooms.kotlin.inputs.ConfiguredTableTableReferenceArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.cleanrooms.kotlin.inputs
import com.pulumi.awsnative.cleanrooms.inputs.ConfiguredTableTableReferenceArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property glue If present, a reference to the AWS Glue table referred to by this table reference.
*/
public data class ConfiguredTableTableReferenceArgs(
public val glue: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.cleanrooms.inputs.ConfiguredTableTableReferenceArgs =
com.pulumi.awsnative.cleanrooms.inputs.ConfiguredTableTableReferenceArgs.builder()
.glue(glue.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [ConfiguredTableTableReferenceArgs].
*/
@PulumiTagMarker
public class ConfiguredTableTableReferenceArgsBuilder internal constructor() {
private var glue: Output? = null
/**
* @param value If present, a reference to the AWS Glue table referred to by this table reference.
*/
@JvmName("cfdfmelxkjdfpcfo")
public suspend fun glue(`value`: Output) {
this.glue = value
}
/**
* @param value If present, a reference to the AWS Glue table referred to by this table reference.
*/
@JvmName("ryqdmnbclvanylcs")
public suspend fun glue(`value`: ConfiguredTableGlueTableReferenceArgs) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.glue = mapped
}
/**
* @param argument If present, a reference to the AWS Glue table referred to by this table reference.
*/
@JvmName("ypghtflxmamwwbli")
public suspend fun glue(argument: suspend ConfiguredTableGlueTableReferenceArgsBuilder.() -> Unit) {
val toBeMapped = ConfiguredTableGlueTableReferenceArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.glue = mapped
}
internal fun build(): ConfiguredTableTableReferenceArgs = ConfiguredTableTableReferenceArgs(
glue = glue ?: throw PulumiNullFieldException("glue"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy