
com.pulumi.azurenative.iotoperations.kotlin.outputs.DataFlowEndpointKafkaBatchingResponse.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.iotoperations.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
* Kafka endpoint Batching properties
* @property latencyMs Batching latency in milliseconds.
* @property maxBytes Maximum number of bytes in a batch.
* @property maxMessages Maximum number of messages in a batch.
* @property mode Mode for batching.
*/
public data class DataFlowEndpointKafkaBatchingResponse(
public val latencyMs: Int? = null,
public val maxBytes: Int? = null,
public val maxMessages: Int? = null,
public val mode: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.iotoperations.outputs.DataFlowEndpointKafkaBatchingResponse): DataFlowEndpointKafkaBatchingResponse = DataFlowEndpointKafkaBatchingResponse(
latencyMs = javaType.latencyMs().map({ args0 -> args0 }).orElse(null),
maxBytes = javaType.maxBytes().map({ args0 -> args0 }).orElse(null),
maxMessages = javaType.maxMessages().map({ args0 -> args0 }).orElse(null),
mode = javaType.mode().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy