![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.kafkaconnect.kotlin.outputs.ConnectorApacheKafkaCluster.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.kafkaconnect.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* Details of how to connect to an Apache Kafka cluster.
* @property bootstrapServers The bootstrap servers string of the Apache Kafka cluster.
* @property vpc Details of an Amazon VPC which has network connectivity to the Apache Kafka cluster.
*/
public data class ConnectorApacheKafkaCluster(
public val bootstrapServers: String,
public val vpc: ConnectorVpc,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.kafkaconnect.outputs.ConnectorApacheKafkaCluster): ConnectorApacheKafkaCluster = ConnectorApacheKafkaCluster(
bootstrapServers = javaType.bootstrapServers(),
vpc = javaType.vpc().let({ args0 ->
com.pulumi.awsnative.kafkaconnect.kotlin.outputs.ConnectorVpc.Companion.toKotlin(args0)
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy