com.pulumi.aws.glue.kotlin.inputs.CrawlerJdbcTargetArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.aws.glue.kotlin.inputs
import com.pulumi.aws.glue.inputs.CrawlerJdbcTargetArgs.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 kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property connectionName The name of the connection to use to connect to the JDBC target.
* @property enableAdditionalMetadatas Specify a value of `RAWTYPES` or `COMMENTS` to enable additional metadata intable responses. `RAWTYPES` provides the native-level datatype. `COMMENTS` provides comments associated with a column or table in the database.
* @property exclusions A list of glob patterns used to exclude from the crawl.
* @property path The path of the JDBC target.
*/
public data class CrawlerJdbcTargetArgs(
public val connectionName: Output,
public val enableAdditionalMetadatas: Output>? = null,
public val exclusions: Output>? = null,
public val path: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.glue.inputs.CrawlerJdbcTargetArgs =
com.pulumi.aws.glue.inputs.CrawlerJdbcTargetArgs.builder()
.connectionName(connectionName.applyValue({ args0 -> args0 }))
.enableAdditionalMetadatas(
enableAdditionalMetadatas?.applyValue({ args0 ->
args0.map({ args0 ->
args0
})
}),
)
.exclusions(exclusions?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.path(path.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [CrawlerJdbcTargetArgs].
*/
@PulumiTagMarker
public class CrawlerJdbcTargetArgsBuilder internal constructor() {
private var connectionName: Output? = null
private var enableAdditionalMetadatas: Output>? = null
private var exclusions: Output>? = null
private var path: Output? = null
/**
* @param value The name of the connection to use to connect to the JDBC target.
*/
@JvmName("wknqhbwpyagdtrbm")
public suspend fun connectionName(`value`: Output) {
this.connectionName = value
}
/**
* @param value Specify a value of `RAWTYPES` or `COMMENTS` to enable additional metadata intable responses. `RAWTYPES` provides the native-level datatype. `COMMENTS` provides comments associated with a column or table in the database.
*/
@JvmName("wbaijnconjjnrgin")
public suspend fun enableAdditionalMetadatas(`value`: Output>) {
this.enableAdditionalMetadatas = value
}
@JvmName("bpdajnqfqhbnvkel")
public suspend fun enableAdditionalMetadatas(vararg values: Output) {
this.enableAdditionalMetadatas = Output.all(values.asList())
}
/**
* @param values Specify a value of `RAWTYPES` or `COMMENTS` to enable additional metadata intable responses. `RAWTYPES` provides the native-level datatype. `COMMENTS` provides comments associated with a column or table in the database.
*/
@JvmName("ldthlfvncjydmwxn")
public suspend fun enableAdditionalMetadatas(values: List