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

com.pulumi.awsnative.kafkaconnect.kotlin.outputs.ConnectorProvisionedCapacity.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: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.kafkaconnect.kotlin.outputs

import kotlin.Int
import kotlin.Suppress

/**
 * Details about a fixed capacity allocated to a connector.
 * @property mcuCount Specifies how many MSK Connect Units (MCU) are allocated to the connector.
 * @property workerCount Number of workers for a connector.
 */
public data class ConnectorProvisionedCapacity(
    public val mcuCount: Int? = null,
    public val workerCount: Int,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.kafkaconnect.outputs.ConnectorProvisionedCapacity): ConnectorProvisionedCapacity = ConnectorProvisionedCapacity(
            mcuCount = javaType.mcuCount().map({ args0 -> args0 }).orElse(null),
            workerCount = javaType.workerCount(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy