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

com.pulumi.awsnative.customerprofiles.kotlin.outputs.GetIntegrationResult.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.customerprofiles.kotlin.outputs

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

/**
 *
 * @property createdAt The time of this integration got created
 * @property lastUpdatedAt The time of this integration got last updated at
 * @property objectTypeName The name of the ObjectType defined for the 3rd party data in Profile Service
 * @property objectTypeNames The mapping between 3rd party event types and ObjectType names
 * @property tags The tags (keys and values) associated with the integration
 */
public data class GetIntegrationResult(
    public val createdAt: String? = null,
    public val lastUpdatedAt: String? = null,
    public val objectTypeName: String? = null,
    public val objectTypeNames: List? = null,
    public val tags: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.customerprofiles.outputs.GetIntegrationResult): GetIntegrationResult = GetIntegrationResult(
            createdAt = javaType.createdAt().map({ args0 -> args0 }).orElse(null),
            lastUpdatedAt = javaType.lastUpdatedAt().map({ args0 -> args0 }).orElse(null),
            objectTypeName = javaType.objectTypeName().map({ args0 -> args0 }).orElse(null),
            objectTypeNames = javaType.objectTypeNames().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.customerprofiles.kotlin.outputs.IntegrationObjectTypeMapping.Companion.toKotlin(args0)
                })
            }),
            tags = javaType.tags().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy