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

com.pulumi.aws.pipes.kotlin.inputs.PipeSourceParametersSqsQueueParametersArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.aws.pipes.kotlin.inputs

import com.pulumi.aws.pipes.inputs.PipeSourceParametersSqsQueueParametersArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property batchSize The maximum number of records to include in each batch. Maximum value of 10000.
 * @property maximumBatchingWindowInSeconds The maximum length of a time to wait for events. Maximum value of 300.
 */
public data class PipeSourceParametersSqsQueueParametersArgs(
    public val batchSize: Output? = null,
    public val maximumBatchingWindowInSeconds: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.pipes.inputs.PipeSourceParametersSqsQueueParametersArgs =
        com.pulumi.aws.pipes.inputs.PipeSourceParametersSqsQueueParametersArgs.builder()
            .batchSize(batchSize?.applyValue({ args0 -> args0 }))
            .maximumBatchingWindowInSeconds(
                maximumBatchingWindowInSeconds?.applyValue({ args0 ->
                    args0
                }),
            ).build()
}

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

    private var maximumBatchingWindowInSeconds: Output? = null

    /**
     * @param value The maximum number of records to include in each batch. Maximum value of 10000.
     */
    @JvmName("youqqrlaxrtaqlyw")
    public suspend fun batchSize(`value`: Output) {
        this.batchSize = value
    }

    /**
     * @param value The maximum length of a time to wait for events. Maximum value of 300.
     */
    @JvmName("rffgmukhlvfagjpa")
    public suspend fun maximumBatchingWindowInSeconds(`value`: Output) {
        this.maximumBatchingWindowInSeconds = value
    }

    /**
     * @param value The maximum number of records to include in each batch. Maximum value of 10000.
     */
    @JvmName("glgmykkkgnkynymk")
    public suspend fun batchSize(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.batchSize = mapped
    }

    /**
     * @param value The maximum length of a time to wait for events. Maximum value of 300.
     */
    @JvmName("mceifkfekaquqwwr")
    public suspend fun maximumBatchingWindowInSeconds(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.maximumBatchingWindowInSeconds = mapped
    }

    internal fun build(): PipeSourceParametersSqsQueueParametersArgs =
        PipeSourceParametersSqsQueueParametersArgs(
            batchSize = batchSize,
            maximumBatchingWindowInSeconds = maximumBatchingWindowInSeconds,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy