All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.datafactory.kotlin.inputs.AzureTableSinkArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.datafactory.kotlin.inputs

import com.pulumi.azurenative.datafactory.inputs.AzureTableSinkArgs.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.Any
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * A copy activity Azure Table sink.
 * @property azureTableDefaultPartitionKeyValue Azure Table default partition key value. Type: string (or Expression with resultType string).
 * @property azureTableInsertType Azure Table insert type. Type: string (or Expression with resultType string).
 * @property azureTablePartitionKeyName Azure Table partition key name. Type: string (or Expression with resultType string).
 * @property azureTableRowKeyName Azure Table row key name. Type: string (or Expression with resultType string).
 * @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 sink data store. Type: integer (or Expression with resultType integer).
 * @property sinkRetryCount Sink retry count. Type: integer (or Expression with resultType integer).
 * @property sinkRetryWait Sink 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 sink type.
 * Expected value is 'AzureTableSink'.
 * @property writeBatchSize Write batch size. Type: integer (or Expression with resultType integer), minimum: 0.
 * @property writeBatchTimeout Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
 */
public data class AzureTableSinkArgs(
    public val azureTableDefaultPartitionKeyValue: Output? = null,
    public val azureTableInsertType: Output? = null,
    public val azureTablePartitionKeyName: Output? = null,
    public val azureTableRowKeyName: Output? = null,
    public val disableMetricsCollection: Output? = null,
    public val maxConcurrentConnections: Output? = null,
    public val sinkRetryCount: Output? = null,
    public val sinkRetryWait: Output? = null,
    public val type: Output,
    public val writeBatchSize: Output? = null,
    public val writeBatchTimeout: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.datafactory.inputs.AzureTableSinkArgs =
        com.pulumi.azurenative.datafactory.inputs.AzureTableSinkArgs.builder()
            .azureTableDefaultPartitionKeyValue(
                azureTableDefaultPartitionKeyValue?.applyValue({ args0 ->
                    args0
                }),
            )
            .azureTableInsertType(azureTableInsertType?.applyValue({ args0 -> args0 }))
            .azureTablePartitionKeyName(azureTablePartitionKeyName?.applyValue({ args0 -> args0 }))
            .azureTableRowKeyName(azureTableRowKeyName?.applyValue({ args0 -> args0 }))
            .disableMetricsCollection(disableMetricsCollection?.applyValue({ args0 -> args0 }))
            .maxConcurrentConnections(maxConcurrentConnections?.applyValue({ args0 -> args0 }))
            .sinkRetryCount(sinkRetryCount?.applyValue({ args0 -> args0 }))
            .sinkRetryWait(sinkRetryWait?.applyValue({ args0 -> args0 }))
            .type(type.applyValue({ args0 -> args0 }))
            .writeBatchSize(writeBatchSize?.applyValue({ args0 -> args0 }))
            .writeBatchTimeout(writeBatchTimeout?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [AzureTableSinkArgs].
 */
@PulumiTagMarker
public class AzureTableSinkArgsBuilder internal constructor() {
    private var azureTableDefaultPartitionKeyValue: Output? = null

    private var azureTableInsertType: Output? = null

    private var azureTablePartitionKeyName: Output? = null

    private var azureTableRowKeyName: Output? = null

    private var disableMetricsCollection: Output? = null

    private var maxConcurrentConnections: Output? = null

    private var sinkRetryCount: Output? = null

    private var sinkRetryWait: Output? = null

    private var type: Output? = null

    private var writeBatchSize: Output? = null

    private var writeBatchTimeout: Output? = null

    /**
     * @param value Azure Table default partition key value. Type: string (or Expression with resultType string).
     */
    @JvmName("hnvqlbjkqhqsvfqj")
    public suspend fun azureTableDefaultPartitionKeyValue(`value`: Output) {
        this.azureTableDefaultPartitionKeyValue = value
    }

    /**
     * @param value Azure Table insert type. Type: string (or Expression with resultType string).
     */
    @JvmName("spfglrbobsjxrjsy")
    public suspend fun azureTableInsertType(`value`: Output) {
        this.azureTableInsertType = value
    }

    /**
     * @param value Azure Table partition key name. Type: string (or Expression with resultType string).
     */
    @JvmName("qmbxyiuxhqygjimg")
    public suspend fun azureTablePartitionKeyName(`value`: Output) {
        this.azureTablePartitionKeyName = value
    }

    /**
     * @param value Azure Table row key name. Type: string (or Expression with resultType string).
     */
    @JvmName("dmtmlkfxfmwjquyn")
    public suspend fun azureTableRowKeyName(`value`: Output) {
        this.azureTableRowKeyName = value
    }

    /**
     * @param value If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean).
     */
    @JvmName("ouqvqqumoiasvjlm")
    public suspend fun disableMetricsCollection(`value`: Output) {
        this.disableMetricsCollection = value
    }

    /**
     * @param value The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer).
     */
    @JvmName("qvwktbiosmfislmu")
    public suspend fun maxConcurrentConnections(`value`: Output) {
        this.maxConcurrentConnections = value
    }

    /**
     * @param value Sink retry count. Type: integer (or Expression with resultType integer).
     */
    @JvmName("onjyilpdvdsgpkjw")
    public suspend fun sinkRetryCount(`value`: Output) {
        this.sinkRetryCount = value
    }

    /**
     * @param value Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
     */
    @JvmName("vygtaghycbkplyid")
    public suspend fun sinkRetryWait(`value`: Output) {
        this.sinkRetryWait = value
    }

    /**
     * @param value Copy sink type.
     * Expected value is 'AzureTableSink'.
     */
    @JvmName("kryqrkbkilnejywy")
    public suspend fun type(`value`: Output) {
        this.type = value
    }

    /**
     * @param value Write batch size. Type: integer (or Expression with resultType integer), minimum: 0.
     */
    @JvmName("mruxfjbuudosbgax")
    public suspend fun writeBatchSize(`value`: Output) {
        this.writeBatchSize = value
    }

    /**
     * @param value Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
     */
    @JvmName("unqjomyvbnqxetct")
    public suspend fun writeBatchTimeout(`value`: Output) {
        this.writeBatchTimeout = value
    }

    /**
     * @param value Azure Table default partition key value. Type: string (or Expression with resultType string).
     */
    @JvmName("oayrjbwltdxuckkn")
    public suspend fun azureTableDefaultPartitionKeyValue(`value`: Any?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.azureTableDefaultPartitionKeyValue = mapped
    }

    /**
     * @param value Azure Table insert type. Type: string (or Expression with resultType string).
     */
    @JvmName("xeslkwqlfojmpiuu")
    public suspend fun azureTableInsertType(`value`: Any?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.azureTableInsertType = mapped
    }

    /**
     * @param value Azure Table partition key name. Type: string (or Expression with resultType string).
     */
    @JvmName("bnbviogslegwtxpq")
    public suspend fun azureTablePartitionKeyName(`value`: Any?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.azureTablePartitionKeyName = mapped
    }

    /**
     * @param value Azure Table row key name. Type: string (or Expression with resultType string).
     */
    @JvmName("nookftxjmlughcub")
    public suspend fun azureTableRowKeyName(`value`: Any?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.azureTableRowKeyName = mapped
    }

    /**
     * @param value If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean).
     */
    @JvmName("jmjcbbauruuinfuv")
    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 sink data store. Type: integer (or Expression with resultType integer).
     */
    @JvmName("eovmhitjgxveunof")
    public suspend fun maxConcurrentConnections(`value`: Any?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.maxConcurrentConnections = mapped
    }

    /**
     * @param value Sink retry count. Type: integer (or Expression with resultType integer).
     */
    @JvmName("psludygqwofqpsba")
    public suspend fun sinkRetryCount(`value`: Any?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.sinkRetryCount = mapped
    }

    /**
     * @param value Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
     */
    @JvmName("wbqtgnuvuncwoykf")
    public suspend fun sinkRetryWait(`value`: Any?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.sinkRetryWait = mapped
    }

    /**
     * @param value Copy sink type.
     * Expected value is 'AzureTableSink'.
     */
    @JvmName("vpnyyvebetehecjx")
    public suspend fun type(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.type = mapped
    }

    /**
     * @param value Write batch size. Type: integer (or Expression with resultType integer), minimum: 0.
     */
    @JvmName("jdluhsoarvtsujsk")
    public suspend fun writeBatchSize(`value`: Any?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.writeBatchSize = mapped
    }

    /**
     * @param value Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
     */
    @JvmName("luxasewnopifxpcv")
    public suspend fun writeBatchTimeout(`value`: Any?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.writeBatchTimeout = mapped
    }

    internal fun build(): AzureTableSinkArgs = AzureTableSinkArgs(
        azureTableDefaultPartitionKeyValue = azureTableDefaultPartitionKeyValue,
        azureTableInsertType = azureTableInsertType,
        azureTablePartitionKeyName = azureTablePartitionKeyName,
        azureTableRowKeyName = azureTableRowKeyName,
        disableMetricsCollection = disableMetricsCollection,
        maxConcurrentConnections = maxConcurrentConnections,
        sinkRetryCount = sinkRetryCount,
        sinkRetryWait = sinkRetryWait,
        type = type ?: throw PulumiNullFieldException("type"),
        writeBatchSize = writeBatchSize,
        writeBatchTimeout = writeBatchTimeout,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy