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

com.pulumi.awsnative.qbusiness.kotlin.outputs.DataSourceDocumentAttributeTarget.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 0.122.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.qbusiness.kotlin.outputs

import com.pulumi.awsnative.qbusiness.kotlin.enums.DataSourceAttributeValueOperator
import kotlin.Any
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property attributeValueOperator `TRUE` to delete the existing target value for your specified target attribute key. You cannot create a target value and set this to `TRUE` .
 * @property key The identifier of the target document attribute or metadata field. For example, 'Department' could be an identifier for the target attribute or metadata field that includes the department names associated with the documents.
 * @property value The value of a document attribute. You can only provide one value for a document attribute.
 */
public data class DataSourceDocumentAttributeTarget(
    public val attributeValueOperator: DataSourceAttributeValueOperator? = null,
    public val key: String,
    public val `value`: Any? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.qbusiness.outputs.DataSourceDocumentAttributeTarget): DataSourceDocumentAttributeTarget = DataSourceDocumentAttributeTarget(
            attributeValueOperator = javaType.attributeValueOperator().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.qbusiness.kotlin.enums.DataSourceAttributeValueOperator.Companion.toKotlin(args0)
                })
            }).orElse(null),
            key = javaType.key(),
            `value` = javaType.`value`().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy