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

com.pulumi.awsnative.pipes.kotlin.outputs.PipeSourceRabbitMqBrokerParameters.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.pipes.kotlin.outputs

import kotlin.Int
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property batchSize The maximum number of records to include in each batch.
 * @property credentials The credentials needed to access the resource.
 * @property maximumBatchingWindowInSeconds The maximum length of a time to wait for events.
 * @property queueName The name of the destination queue to consume.
 * @property virtualHost The name of the virtual host associated with the source broker.
 */
public data class PipeSourceRabbitMqBrokerParameters(
    public val batchSize: Int? = null,
    public val credentials: PipeMqBrokerAccessCredentialsProperties,
    public val maximumBatchingWindowInSeconds: Int? = null,
    public val queueName: String,
    public val virtualHost: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.pipes.outputs.PipeSourceRabbitMqBrokerParameters): PipeSourceRabbitMqBrokerParameters = PipeSourceRabbitMqBrokerParameters(
            batchSize = javaType.batchSize().map({ args0 -> args0 }).orElse(null),
            credentials = javaType.credentials().let({ args0 ->
                com.pulumi.awsnative.pipes.kotlin.outputs.PipeMqBrokerAccessCredentialsProperties.Companion.toKotlin(args0)
            }),
            maximumBatchingWindowInSeconds = javaType.maximumBatchingWindowInSeconds().map({ args0 ->
                args0
            }).orElse(null),
            queueName = javaType.queueName(),
            virtualHost = javaType.virtualHost().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy