![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.timestream.kotlin.inputs.GetTablePlainArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.timestream.kotlin.inputs
import com.pulumi.awsnative.timestream.inputs.GetTablePlainArgs.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 databaseName The name for the database which the table to be created belongs to.
* @property tableName The name for the table. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the table name.
*/
public data class GetTablePlainArgs(
public val databaseName: String,
public val tableName: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.timestream.inputs.GetTablePlainArgs =
com.pulumi.awsnative.timestream.inputs.GetTablePlainArgs.builder()
.databaseName(databaseName.let({ args0 -> args0 }))
.tableName(tableName.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetTablePlainArgs].
*/
@PulumiTagMarker
public class GetTablePlainArgsBuilder internal constructor() {
private var databaseName: String? = null
private var tableName: String? = null
/**
* @param value The name for the database which the table to be created belongs to.
*/
@JvmName("tjfbtavgvaycujmb")
public suspend fun databaseName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.databaseName = mapped
}
/**
* @param value The name for the table. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the table name.
*/
@JvmName("pvwixotrjcwdpsis")
public suspend fun tableName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.tableName = mapped
}
internal fun build(): GetTablePlainArgs = GetTablePlainArgs(
databaseName = databaseName ?: throw PulumiNullFieldException("databaseName"),
tableName = tableName ?: throw PulumiNullFieldException("tableName"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy