
com.pulumi.awsnative.qbusiness.kotlin.inputs.IndexDocumentAttributeConfigurationArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.qbusiness.kotlin.inputs
import com.pulumi.awsnative.qbusiness.inputs.IndexDocumentAttributeConfigurationArgs.builder
import com.pulumi.awsnative.qbusiness.kotlin.enums.IndexAttributeType
import com.pulumi.awsnative.qbusiness.kotlin.enums.QBusinessIndexStatus
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 name The name of the document attribute.
* @property search Information about whether the document attribute can be used by an end user to search for information on their web experience.
* @property type The type of document attribute.
*/
public data class IndexDocumentAttributeConfigurationArgs(
public val name: Output? = null,
public val search: Output? = null,
public val type: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.qbusiness.inputs.IndexDocumentAttributeConfigurationArgs =
com.pulumi.awsnative.qbusiness.inputs.IndexDocumentAttributeConfigurationArgs.builder()
.name(name?.applyValue({ args0 -> args0 }))
.search(search?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.type(type?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [IndexDocumentAttributeConfigurationArgs].
*/
@PulumiTagMarker
public class IndexDocumentAttributeConfigurationArgsBuilder internal constructor() {
private var name: Output? = null
private var search: Output? = null
private var type: Output? = null
/**
* @param value The name of the document attribute.
*/
@JvmName("shvjssanpisyngtb")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value Information about whether the document attribute can be used by an end user to search for information on their web experience.
*/
@JvmName("jtnnxaldmnwhgnyw")
public suspend fun search(`value`: Output) {
this.search = value
}
/**
* @param value The type of document attribute.
*/
@JvmName("eeyftebvfxxmgppr")
public suspend fun type(`value`: Output) {
this.type = value
}
/**
* @param value The name of the document attribute.
*/
@JvmName("bmnnmmfhwtygicjq")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value Information about whether the document attribute can be used by an end user to search for information on their web experience.
*/
@JvmName("jqbrwufwitxuihtl")
public suspend fun search(`value`: QBusinessIndexStatus?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.search = mapped
}
/**
* @param value The type of document attribute.
*/
@JvmName("sfhemhsmjvexkisw")
public suspend fun type(`value`: IndexAttributeType?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.type = mapped
}
internal fun build(): IndexDocumentAttributeConfigurationArgs =
IndexDocumentAttributeConfigurationArgs(
name = name,
search = search,
type = type,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy