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

com.pulumi.awsnative.msk.kotlin.outputs.GetReplicatorResult.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.msk.kotlin.outputs

import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property currentVersion The current version of the MSK replicator.
 * @property replicationInfoList A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow.
 * @property replicatorArn Amazon Resource Name for the created replicator.
 * @property tags A collection of tags associated with a resource
 */
public data class GetReplicatorResult(
    public val currentVersion: String? = null,
    public val replicationInfoList: List? = null,
    public val replicatorArn: String? = null,
    public val tags: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.msk.outputs.GetReplicatorResult): GetReplicatorResult = GetReplicatorResult(
            currentVersion = javaType.currentVersion().map({ args0 -> args0 }).orElse(null),
            replicationInfoList = javaType.replicationInfoList().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.msk.kotlin.outputs.ReplicatorReplicationInfo.Companion.toKotlin(args0)
                })
            }),
            replicatorArn = javaType.replicatorArn().map({ args0 -> args0 }).orElse(null),
            tags = javaType.tags().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy