com.pulumi.aws.glue.kotlin.inputs.CrawlerMongodbTargetArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.aws.glue.kotlin.inputs
import com.pulumi.aws.glue.inputs.CrawlerMongodbTargetArgs.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.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property connectionName The name of the connection to use to connect to the Amazon DocumentDB or MongoDB target.
* @property path The path of the Amazon DocumentDB or MongoDB target (database/collection).
* @property scanAll Indicates whether to scan all the records, or to sample rows from the table. Scanning all the records can take a long time when the table is not a high throughput table. Default value is `true`.
*/
public data class CrawlerMongodbTargetArgs(
public val connectionName: Output,
public val path: Output,
public val scanAll: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.glue.inputs.CrawlerMongodbTargetArgs =
com.pulumi.aws.glue.inputs.CrawlerMongodbTargetArgs.builder()
.connectionName(connectionName.applyValue({ args0 -> args0 }))
.path(path.applyValue({ args0 -> args0 }))
.scanAll(scanAll?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [CrawlerMongodbTargetArgs].
*/
@PulumiTagMarker
public class CrawlerMongodbTargetArgsBuilder internal constructor() {
private var connectionName: Output? = null
private var path: Output? = null
private var scanAll: Output? = null
/**
* @param value The name of the connection to use to connect to the Amazon DocumentDB or MongoDB target.
*/
@JvmName("bfqbkemtoectaruj")
public suspend fun connectionName(`value`: Output) {
this.connectionName = value
}
/**
* @param value The path of the Amazon DocumentDB or MongoDB target (database/collection).
*/
@JvmName("ilexhhgwmjivstsk")
public suspend fun path(`value`: Output) {
this.path = value
}
/**
* @param value Indicates whether to scan all the records, or to sample rows from the table. Scanning all the records can take a long time when the table is not a high throughput table. Default value is `true`.
*/
@JvmName("cadfpdfsneycjhtu")
public suspend fun scanAll(`value`: Output) {
this.scanAll = value
}
/**
* @param value The name of the connection to use to connect to the Amazon DocumentDB or MongoDB target.
*/
@JvmName("qaoggvaqbhqfbgrc")
public suspend fun connectionName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.connectionName = mapped
}
/**
* @param value The path of the Amazon DocumentDB or MongoDB target (database/collection).
*/
@JvmName("aimqcnckhaqsqyjr")
public suspend fun path(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.path = mapped
}
/**
* @param value Indicates whether to scan all the records, or to sample rows from the table. Scanning all the records can take a long time when the table is not a high throughput table. Default value is `true`.
*/
@JvmName("dybpovjjkhhlmhsf")
public suspend fun scanAll(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.scanAll = mapped
}
internal fun build(): CrawlerMongodbTargetArgs = CrawlerMongodbTargetArgs(
connectionName = connectionName ?: throw PulumiNullFieldException("connectionName"),
path = path ?: throw PulumiNullFieldException("path"),
scanAll = scanAll,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy