
com.pulumi.azurenative.datafactory.kotlin.inputs.OracleSourceArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.datafactory.kotlin.inputs
import com.pulumi.azurenative.datafactory.inputs.OracleSourceArgs.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.Any
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
* A copy activity Oracle source.
* @property additionalColumns Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects).
* @property disableMetricsCollection If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean).
* @property maxConcurrentConnections The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
* @property oracleReaderQuery Oracle reader query. Type: string (or Expression with resultType string).
* @property partitionOption The partition mechanism that will be used for Oracle read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange".
* @property partitionSettings The settings that will be leveraged for Oracle source partitioning.
* @property queryTimeout Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
* @property sourceRetryCount Source retry count. Type: integer (or Expression with resultType integer).
* @property sourceRetryWait Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
* @property type Copy source type.
* Expected value is 'OracleSource'.
*/
public data class OracleSourceArgs(
public val additionalColumns: Output? = null,
public val disableMetricsCollection: Output? = null,
public val maxConcurrentConnections: Output? = null,
public val oracleReaderQuery: Output? = null,
public val partitionOption: Output? = null,
public val partitionSettings: Output? = null,
public val queryTimeout: Output? = null,
public val sourceRetryCount: Output? = null,
public val sourceRetryWait: Output? = null,
public val type: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.datafactory.inputs.OracleSourceArgs =
com.pulumi.azurenative.datafactory.inputs.OracleSourceArgs.builder()
.additionalColumns(additionalColumns?.applyValue({ args0 -> args0 }))
.disableMetricsCollection(disableMetricsCollection?.applyValue({ args0 -> args0 }))
.maxConcurrentConnections(maxConcurrentConnections?.applyValue({ args0 -> args0 }))
.oracleReaderQuery(oracleReaderQuery?.applyValue({ args0 -> args0 }))
.partitionOption(partitionOption?.applyValue({ args0 -> args0 }))
.partitionSettings(partitionSettings?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.queryTimeout(queryTimeout?.applyValue({ args0 -> args0 }))
.sourceRetryCount(sourceRetryCount?.applyValue({ args0 -> args0 }))
.sourceRetryWait(sourceRetryWait?.applyValue({ args0 -> args0 }))
.type(type.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [OracleSourceArgs].
*/
@PulumiTagMarker
public class OracleSourceArgsBuilder internal constructor() {
private var additionalColumns: Output? = null
private var disableMetricsCollection: Output? = null
private var maxConcurrentConnections: Output? = null
private var oracleReaderQuery: Output? = null
private var partitionOption: Output? = null
private var partitionSettings: Output? = null
private var queryTimeout: Output? = null
private var sourceRetryCount: Output? = null
private var sourceRetryWait: Output? = null
private var type: Output? = null
/**
* @param value Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects).
*/
@JvmName("xlqldmxulhwrlvbu")
public suspend fun additionalColumns(`value`: Output) {
this.additionalColumns = value
}
/**
* @param value If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean).
*/
@JvmName("uxkvrrbqivtpilky")
public suspend fun disableMetricsCollection(`value`: Output) {
this.disableMetricsCollection = value
}
/**
* @param value The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
*/
@JvmName("dbngomimjoqxgmow")
public suspend fun maxConcurrentConnections(`value`: Output) {
this.maxConcurrentConnections = value
}
/**
* @param value Oracle reader query. Type: string (or Expression with resultType string).
*/
@JvmName("ctbqstnxjrvxhnhs")
public suspend fun oracleReaderQuery(`value`: Output) {
this.oracleReaderQuery = value
}
/**
* @param value The partition mechanism that will be used for Oracle read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange".
*/
@JvmName("gawnmwnwkhoricnf")
public suspend fun partitionOption(`value`: Output) {
this.partitionOption = value
}
/**
* @param value The settings that will be leveraged for Oracle source partitioning.
*/
@JvmName("gpvtrkvsxiguigmd")
public suspend fun partitionSettings(`value`: Output) {
this.partitionSettings = value
}
/**
* @param value Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
*/
@JvmName("lpvrgjdbadjiambn")
public suspend fun queryTimeout(`value`: Output) {
this.queryTimeout = value
}
/**
* @param value Source retry count. Type: integer (or Expression with resultType integer).
*/
@JvmName("uhswlgrgmeqmbitl")
public suspend fun sourceRetryCount(`value`: Output) {
this.sourceRetryCount = value
}
/**
* @param value Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
*/
@JvmName("shpmhxyhtgityytq")
public suspend fun sourceRetryWait(`value`: Output) {
this.sourceRetryWait = value
}
/**
* @param value Copy source type.
* Expected value is 'OracleSource'.
*/
@JvmName("gytanviaajgtspyq")
public suspend fun type(`value`: Output) {
this.type = value
}
/**
* @param value Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects).
*/
@JvmName("dyyvctupfpkaxocx")
public suspend fun additionalColumns(`value`: Any?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.additionalColumns = mapped
}
/**
* @param value If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean).
*/
@JvmName("dvymmgggwvmceqal")
public suspend fun disableMetricsCollection(`value`: Any?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.disableMetricsCollection = mapped
}
/**
* @param value The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
*/
@JvmName("iowqytqqpklltbqf")
public suspend fun maxConcurrentConnections(`value`: Any?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.maxConcurrentConnections = mapped
}
/**
* @param value Oracle reader query. Type: string (or Expression with resultType string).
*/
@JvmName("ajvnwtkfbdyfmrvd")
public suspend fun oracleReaderQuery(`value`: Any?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.oracleReaderQuery = mapped
}
/**
* @param value The partition mechanism that will be used for Oracle read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange".
*/
@JvmName("nqkgkqeajoaagcqr")
public suspend fun partitionOption(`value`: Any?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.partitionOption = mapped
}
/**
* @param value The settings that will be leveraged for Oracle source partitioning.
*/
@JvmName("jneqvihqdtnescbo")
public suspend fun partitionSettings(`value`: OraclePartitionSettingsArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.partitionSettings = mapped
}
/**
* @param argument The settings that will be leveraged for Oracle source partitioning.
*/
@JvmName("saxucitecxljsvoj")
public suspend fun partitionSettings(argument: suspend OraclePartitionSettingsArgsBuilder.() -> Unit) {
val toBeMapped = OraclePartitionSettingsArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.partitionSettings = mapped
}
/**
* @param value Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
*/
@JvmName("mvaymnectyjbbltu")
public suspend fun queryTimeout(`value`: Any?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.queryTimeout = mapped
}
/**
* @param value Source retry count. Type: integer (or Expression with resultType integer).
*/
@JvmName("qrsjsivtpypfxkif")
public suspend fun sourceRetryCount(`value`: Any?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.sourceRetryCount = mapped
}
/**
* @param value Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
*/
@JvmName("bfrbdufanagpvrht")
public suspend fun sourceRetryWait(`value`: Any?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.sourceRetryWait = mapped
}
/**
* @param value Copy source type.
* Expected value is 'OracleSource'.
*/
@JvmName("mqymxesjvitapawl")
public suspend fun type(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.type = mapped
}
internal fun build(): OracleSourceArgs = OracleSourceArgs(
additionalColumns = additionalColumns,
disableMetricsCollection = disableMetricsCollection,
maxConcurrentConnections = maxConcurrentConnections,
oracleReaderQuery = oracleReaderQuery,
partitionOption = partitionOption,
partitionSettings = partitionSettings,
queryTimeout = queryTimeout,
sourceRetryCount = sourceRetryCount,
sourceRetryWait = sourceRetryWait,
type = type ?: throw PulumiNullFieldException("type"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy