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

com.pulumi.awsnative.entityresolution.kotlin.outputs.SchemaMappingSchemaInputAttribute.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.entityresolution.kotlin.outputs

import com.pulumi.awsnative.entityresolution.kotlin.enums.SchemaMappingSchemaAttributeType
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property fieldName
 * @property groupName
 * @property hashed
 * @property matchKey
 * @property subType The subtype of the Attribute. Would be required only when type is PROVIDER_ID
 * @property type
 */
public data class SchemaMappingSchemaInputAttribute(
    public val fieldName: String,
    public val groupName: String? = null,
    public val hashed: Boolean? = null,
    public val matchKey: String? = null,
    public val subType: String? = null,
    public val type: SchemaMappingSchemaAttributeType,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.entityresolution.outputs.SchemaMappingSchemaInputAttribute): SchemaMappingSchemaInputAttribute = SchemaMappingSchemaInputAttribute(
            fieldName = javaType.fieldName(),
            groupName = javaType.groupName().map({ args0 -> args0 }).orElse(null),
            hashed = javaType.hashed().map({ args0 -> args0 }).orElse(null),
            matchKey = javaType.matchKey().map({ args0 -> args0 }).orElse(null),
            subType = javaType.subType().map({ args0 -> args0 }).orElse(null),
            type = javaType.type().let({ args0 ->
                com.pulumi.awsnative.entityresolution.kotlin.enums.SchemaMappingSchemaAttributeType.Companion.toKotlin(args0)
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy