com.pulumi.awsnative.appflow.kotlin.inputs.FlowSapoDataSourcePropertiesArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.appflow.kotlin.inputs
import com.pulumi.awsnative.appflow.inputs.FlowSapoDataSourcePropertiesArgs.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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property objectPath The object path specified in the SAPOData flow source.
* @property paginationConfig
* @property parallelismConfig
*/
public data class FlowSapoDataSourcePropertiesArgs(
public val objectPath: Output,
public val paginationConfig: Output? = null,
public val parallelismConfig: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.appflow.inputs.FlowSapoDataSourcePropertiesArgs =
com.pulumi.awsnative.appflow.inputs.FlowSapoDataSourcePropertiesArgs.builder()
.objectPath(objectPath.applyValue({ args0 -> args0 }))
.paginationConfig(paginationConfig?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.parallelismConfig(
parallelismConfig?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [FlowSapoDataSourcePropertiesArgs].
*/
@PulumiTagMarker
public class FlowSapoDataSourcePropertiesArgsBuilder internal constructor() {
private var objectPath: Output? = null
private var paginationConfig: Output? = null
private var parallelismConfig: Output? = null
/**
* @param value The object path specified in the SAPOData flow source.
*/
@JvmName("cihlpwifhlfejtws")
public suspend fun objectPath(`value`: Output) {
this.objectPath = value
}
/**
* @param value
*/
@JvmName("srkmfqpgkcqpdflm")
public suspend fun paginationConfig(`value`: Output) {
this.paginationConfig = value
}
/**
* @param value
*/
@JvmName("sigcomlehxfrkfse")
public suspend fun parallelismConfig(`value`: Output) {
this.parallelismConfig = value
}
/**
* @param value The object path specified in the SAPOData flow source.
*/
@JvmName("wdbdyugdgwljyktw")
public suspend fun objectPath(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.objectPath = mapped
}
/**
* @param value
*/
@JvmName("xpbrrvlmiavvafuh")
public suspend fun paginationConfig(`value`: FlowSapoDataPaginationConfigArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.paginationConfig = mapped
}
/**
* @param argument
*/
@JvmName("nanixwhatlfvqhtl")
public suspend fun paginationConfig(argument: suspend FlowSapoDataPaginationConfigArgsBuilder.() -> Unit) {
val toBeMapped = FlowSapoDataPaginationConfigArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.paginationConfig = mapped
}
/**
* @param value
*/
@JvmName("xygsvbvjngfrwyge")
public suspend fun parallelismConfig(`value`: FlowSapoDataParallelismConfigArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.parallelismConfig = mapped
}
/**
* @param argument
*/
@JvmName("omkcxmireekximsm")
public suspend fun parallelismConfig(argument: suspend FlowSapoDataParallelismConfigArgsBuilder.() -> Unit) {
val toBeMapped = FlowSapoDataParallelismConfigArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.parallelismConfig = mapped
}
internal fun build(): FlowSapoDataSourcePropertiesArgs = FlowSapoDataSourcePropertiesArgs(
objectPath = objectPath ?: throw PulumiNullFieldException("objectPath"),
paginationConfig = paginationConfig,
parallelismConfig = parallelismConfig,
)
}