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

com.pulumi.azure.logicapps.kotlin.inputs.IntegrationAccountBatchConfigurationReleaseCriteriaArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azure.logicapps.kotlin.inputs

import com.pulumi.azure.logicapps.inputs.IntegrationAccountBatchConfigurationReleaseCriteriaArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Int
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 *
 * @property batchSize The batch size in bytes for the Logic App Integration Batch Configuration.
 * @property messageCount The message count for the Logic App Integration Batch Configuration.
 * @property recurrence A `recurrence` block as documented below.
 */
public data class IntegrationAccountBatchConfigurationReleaseCriteriaArgs(
    public val batchSize: Output? = null,
    public val messageCount: Output? = null,
    public val recurrence: Output? =
        null,
) :
    ConvertibleToJava {
    override fun toJava():
        com.pulumi.azure.logicapps.inputs.IntegrationAccountBatchConfigurationReleaseCriteriaArgs =
        com.pulumi.azure.logicapps.inputs.IntegrationAccountBatchConfigurationReleaseCriteriaArgs.builder()
            .batchSize(batchSize?.applyValue({ args0 -> args0 }))
            .messageCount(messageCount?.applyValue({ args0 -> args0 }))
            .recurrence(recurrence?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [IntegrationAccountBatchConfigurationReleaseCriteriaArgs].
 */
@PulumiTagMarker
public class IntegrationAccountBatchConfigurationReleaseCriteriaArgsBuilder internal constructor() {
    private var batchSize: Output? = null

    private var messageCount: Output? = null

    private var recurrence: Output? =
        null

    /**
     * @param value The batch size in bytes for the Logic App Integration Batch Configuration.
     */
    @JvmName("fixpvoibtmhuljhn")
    public suspend fun batchSize(`value`: Output) {
        this.batchSize = value
    }

    /**
     * @param value The message count for the Logic App Integration Batch Configuration.
     */
    @JvmName("rpswuyrvabyvvkqa")
    public suspend fun messageCount(`value`: Output) {
        this.messageCount = value
    }

    /**
     * @param value A `recurrence` block as documented below.
     */
    @JvmName("mqbfrhampeajjfyk")
    public suspend
    fun recurrence(`value`: Output) {
        this.recurrence = value
    }

    /**
     * @param value The batch size in bytes for the Logic App Integration Batch Configuration.
     */
    @JvmName("tqrgkgdbqouldrqm")
    public suspend fun batchSize(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.batchSize = mapped
    }

    /**
     * @param value The message count for the Logic App Integration Batch Configuration.
     */
    @JvmName("hgwsroyjdfitxcrj")
    public suspend fun messageCount(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.messageCount = mapped
    }

    /**
     * @param value A `recurrence` block as documented below.
     */
    @JvmName("wcriucpflonwwmgx")
    public suspend
    fun recurrence(`value`: IntegrationAccountBatchConfigurationReleaseCriteriaRecurrenceArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.recurrence = mapped
    }

    /**
     * @param argument A `recurrence` block as documented below.
     */
    @JvmName("whpbkwdgieskkcex")
    public suspend
    fun recurrence(argument: suspend IntegrationAccountBatchConfigurationReleaseCriteriaRecurrenceArgsBuilder.() -> Unit) {
        val toBeMapped =
            IntegrationAccountBatchConfigurationReleaseCriteriaRecurrenceArgsBuilder().applySuspend {
                argument()
            }.build()
        val mapped = of(toBeMapped)
        this.recurrence = mapped
    }

    internal fun build(): IntegrationAccountBatchConfigurationReleaseCriteriaArgs =
        IntegrationAccountBatchConfigurationReleaseCriteriaArgs(
            batchSize = batchSize,
            messageCount = messageCount,
            recurrence = recurrence,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy