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

com.pulumi.azurenative.iotoperations.kotlin.outputs.BatchingConfigurationResponse.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.iotoperations.kotlin.outputs

import kotlin.Int
import kotlin.Suppress

/**
 * Batching configuration
 * @property latencySeconds Batching latency in seconds.
 * @property maxMessages Maximum number of messages in a batch.
 */
public data class BatchingConfigurationResponse(
    public val latencySeconds: Int? = null,
    public val maxMessages: Int? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.iotoperations.outputs.BatchingConfigurationResponse): BatchingConfigurationResponse = BatchingConfigurationResponse(
            latencySeconds = javaType.latencySeconds().map({ args0 -> args0 }).orElse(null),
            maxMessages = javaType.maxMessages().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy