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

com.pulumi.awsnative.wisdom.kotlin.inputs.KnowledgeBaseRenderingConfigurationArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.wisdom.kotlin.inputs

import com.pulumi.awsnative.wisdom.inputs.KnowledgeBaseRenderingConfigurationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property templateUri A URI template containing exactly one variable in `${variableName}` format. This can only be set for `EXTERNAL` knowledge bases. For Salesforce, ServiceNow, and Zendesk, the variable must be one of the following:
 * - Salesforce: `Id` , `ArticleNumber` , `VersionNumber` , `Title` , `PublishStatus` , or `IsDeleted`
 * - ServiceNow: `number` , `short_description` , `sys_mod_count` , `workflow_state` , or `active`
 * - Zendesk: `id` , `title` , `updated_at` , or `draft`
 * The variable is replaced with the actual value for a piece of content when calling [GetContent](https://docs.aws.amazon.com/amazon-q-connect/latest/APIReference/API_GetContent.html) .
 */
public data class KnowledgeBaseRenderingConfigurationArgs(
    public val templateUri: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.wisdom.inputs.KnowledgeBaseRenderingConfigurationArgs = com.pulumi.awsnative.wisdom.inputs.KnowledgeBaseRenderingConfigurationArgs.builder()
        .templateUri(templateUri?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [KnowledgeBaseRenderingConfigurationArgs].
 */
@PulumiTagMarker
public class KnowledgeBaseRenderingConfigurationArgsBuilder internal constructor() {
    private var templateUri: Output? = null

    /**
     * @param value A URI template containing exactly one variable in `${variableName}` format. This can only be set for `EXTERNAL` knowledge bases. For Salesforce, ServiceNow, and Zendesk, the variable must be one of the following:
     * - Salesforce: `Id` , `ArticleNumber` , `VersionNumber` , `Title` , `PublishStatus` , or `IsDeleted`
     * - ServiceNow: `number` , `short_description` , `sys_mod_count` , `workflow_state` , or `active`
     * - Zendesk: `id` , `title` , `updated_at` , or `draft`
     * The variable is replaced with the actual value for a piece of content when calling [GetContent](https://docs.aws.amazon.com/amazon-q-connect/latest/APIReference/API_GetContent.html) .
     */
    @JvmName("jngkjibwvobtyxjn")
    public suspend fun templateUri(`value`: Output) {
        this.templateUri = value
    }

    /**
     * @param value A URI template containing exactly one variable in `${variableName}` format. This can only be set for `EXTERNAL` knowledge bases. For Salesforce, ServiceNow, and Zendesk, the variable must be one of the following:
     * - Salesforce: `Id` , `ArticleNumber` , `VersionNumber` , `Title` , `PublishStatus` , or `IsDeleted`
     * - ServiceNow: `number` , `short_description` , `sys_mod_count` , `workflow_state` , or `active`
     * - Zendesk: `id` , `title` , `updated_at` , or `draft`
     * The variable is replaced with the actual value for a piece of content when calling [GetContent](https://docs.aws.amazon.com/amazon-q-connect/latest/APIReference/API_GetContent.html) .
     */
    @JvmName("bkeyvdofbrfhweay")
    public suspend fun templateUri(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.templateUri = mapped
    }

    internal fun build(): KnowledgeBaseRenderingConfigurationArgs =
        KnowledgeBaseRenderingConfigurationArgs(
            templateUri = templateUri,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy