com.pulumi.awsnative.kendra.kotlin.inputs.DataSourceSalesforceChatterFeedConfigurationArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.kendra.kotlin.inputs
import com.pulumi.awsnative.kendra.inputs.DataSourceSalesforceChatterFeedConfigurationArgs.builder
import com.pulumi.awsnative.kendra.kotlin.enums.DataSourceSalesforceChatterFeedIncludeFilterType
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property documentDataFieldName The name of the column in the Salesforce FeedItem table that contains the content to index. Typically this is the `Body` column.
* @property documentTitleFieldName The name of the column in the Salesforce FeedItem table that contains the title of the document. This is typically the `Title` column.
* @property fieldMappings Maps fields from a Salesforce chatter feed into Amazon Kendra index fields.
* @property includeFilterTypes Filters the documents in the feed based on status of the user. When you specify `ACTIVE_USERS` only documents from users who have an active account are indexed. When you specify `STANDARD_USER` only documents for Salesforce standard users are documented. You can specify both.
*/
public data class DataSourceSalesforceChatterFeedConfigurationArgs(
public val documentDataFieldName: Output,
public val documentTitleFieldName: Output? = null,
public val fieldMappings: Output>? = null,
public val includeFilterTypes: Output>? =
null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.kendra.inputs.DataSourceSalesforceChatterFeedConfigurationArgs =
com.pulumi.awsnative.kendra.inputs.DataSourceSalesforceChatterFeedConfigurationArgs.builder()
.documentDataFieldName(documentDataFieldName.applyValue({ args0 -> args0 }))
.documentTitleFieldName(documentTitleFieldName?.applyValue({ args0 -> args0 }))
.fieldMappings(
fieldMappings?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.includeFilterTypes(
includeFilterTypes?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
).build()
}
/**
* Builder for [DataSourceSalesforceChatterFeedConfigurationArgs].
*/
@PulumiTagMarker
public class DataSourceSalesforceChatterFeedConfigurationArgsBuilder internal constructor() {
private var documentDataFieldName: Output? = null
private var documentTitleFieldName: Output? = null
private var fieldMappings: Output>? = null
private var includeFilterTypes: Output>? =
null
/**
* @param value The name of the column in the Salesforce FeedItem table that contains the content to index. Typically this is the `Body` column.
*/
@JvmName("msulkxrauouqlpag")
public suspend fun documentDataFieldName(`value`: Output) {
this.documentDataFieldName = value
}
/**
* @param value The name of the column in the Salesforce FeedItem table that contains the title of the document. This is typically the `Title` column.
*/
@JvmName("ehgbblhoyitbaeli")
public suspend fun documentTitleFieldName(`value`: Output) {
this.documentTitleFieldName = value
}
/**
* @param value Maps fields from a Salesforce chatter feed into Amazon Kendra index fields.
*/
@JvmName("uovmlummuoxiutwb")
public suspend fun fieldMappings(`value`: Output>) {
this.fieldMappings = value
}
@JvmName("jcnqpflwcirgtsrr")
public suspend fun fieldMappings(vararg values: Output) {
this.fieldMappings = Output.all(values.asList())
}
/**
* @param values Maps fields from a Salesforce chatter feed into Amazon Kendra index fields.
*/
@JvmName("uhxyocpkcsfugxdj")
public suspend fun fieldMappings(values: List