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

com.pulumi.awsnative.appintegrations.kotlin.outputs.GetDataIntegrationResult.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.appintegrations.kotlin.outputs

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

/**
 *
 * @property dataIntegrationArn The Amazon Resource Name (ARN) of the data integration.
 * @property description The data integration description.
 * @property fileConfiguration The configuration for what files should be pulled from the source.
 * @property id The unique identifer of the data integration.
 * @property name The name of the data integration.
 * @property objectConfiguration The configuration for what data should be pulled from the source.
 * @property tags The tags (keys and values) associated with the data integration.
 */
public data class GetDataIntegrationResult(
    public val dataIntegrationArn: String? = null,
    public val description: String? = null,
    public val fileConfiguration: DataIntegrationFileConfiguration? = null,
    public val id: String? = null,
    public val name: String? = null,
    public val objectConfiguration: Map? = null,
    public val tags: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.appintegrations.outputs.GetDataIntegrationResult): GetDataIntegrationResult = GetDataIntegrationResult(
            dataIntegrationArn = javaType.dataIntegrationArn().map({ args0 -> args0 }).orElse(null),
            description = javaType.description().map({ args0 -> args0 }).orElse(null),
            fileConfiguration = javaType.fileConfiguration().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.appintegrations.kotlin.outputs.DataIntegrationFileConfiguration.Companion.toKotlin(args0)
                })
            }).orElse(null),
            id = javaType.id().map({ args0 -> args0 }).orElse(null),
            name = javaType.name().map({ args0 -> args0 }).orElse(null),
            objectConfiguration = javaType.objectConfiguration().map({ args0 ->
                args0.key.to(args0.value)
            }).toMap(),
            tags = javaType.tags().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy