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

com.pulumi.awsnative.kendra.kotlin.inputs.DataSourceInlineCustomDocumentEnrichmentConfigurationArgs.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.kendra.kotlin.inputs

import com.pulumi.awsnative.kendra.inputs.DataSourceInlineCustomDocumentEnrichmentConfigurationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 *
 * @property condition
 * @property documentContentDeletion
 * @property target
 */
public data class DataSourceInlineCustomDocumentEnrichmentConfigurationArgs(
    public val condition: Output? = null,
    public val documentContentDeletion: Output? = null,
    public val target: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.kendra.inputs.DataSourceInlineCustomDocumentEnrichmentConfigurationArgs =
        com.pulumi.awsnative.kendra.inputs.DataSourceInlineCustomDocumentEnrichmentConfigurationArgs.builder()
            .condition(condition?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .documentContentDeletion(documentContentDeletion?.applyValue({ args0 -> args0 }))
            .target(target?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [DataSourceInlineCustomDocumentEnrichmentConfigurationArgs].
 */
@PulumiTagMarker
public class DataSourceInlineCustomDocumentEnrichmentConfigurationArgsBuilder internal constructor() {
    private var condition: Output? = null

    private var documentContentDeletion: Output? = null

    private var target: Output? = null

    /**
     * @param value
     */
    @JvmName("retxnoylqagdeafx")
    public suspend fun condition(`value`: Output) {
        this.condition = value
    }

    /**
     * @param value
     */
    @JvmName("iqrxwtpnbgfbbgvt")
    public suspend fun documentContentDeletion(`value`: Output) {
        this.documentContentDeletion = value
    }

    /**
     * @param value
     */
    @JvmName("oueptckxvbrognjb")
    public suspend fun target(`value`: Output) {
        this.target = value
    }

    /**
     * @param value
     */
    @JvmName("mxxiotdjdbupnlig")
    public suspend fun condition(`value`: DataSourceDocumentAttributeConditionArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.condition = mapped
    }

    /**
     * @param argument
     */
    @JvmName("gkfhihwgjcnpjray")
    public suspend fun condition(argument: suspend DataSourceDocumentAttributeConditionArgsBuilder.() -> Unit) {
        val toBeMapped = DataSourceDocumentAttributeConditionArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.condition = mapped
    }

    /**
     * @param value
     */
    @JvmName("wpaopgrkqwrsiguk")
    public suspend fun documentContentDeletion(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.documentContentDeletion = mapped
    }

    /**
     * @param value
     */
    @JvmName("vsobxrynxvgjnwtx")
    public suspend fun target(`value`: DataSourceDocumentAttributeTargetArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.target = mapped
    }

    /**
     * @param argument
     */
    @JvmName("uytrvaogokjmbcnj")
    public suspend fun target(argument: suspend DataSourceDocumentAttributeTargetArgsBuilder.() -> Unit) {
        val toBeMapped = DataSourceDocumentAttributeTargetArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.target = mapped
    }

    internal fun build(): DataSourceInlineCustomDocumentEnrichmentConfigurationArgs =
        DataSourceInlineCustomDocumentEnrichmentConfigurationArgs(
            condition = condition,
            documentContentDeletion = documentContentDeletion,
            target = target,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy