
com.pulumi.gcp.vertex.kotlin.inputs.AiIndexMetadataConfigAlgorithmConfigArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.vertex.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.vertex.inputs.AiIndexMetadataConfigAlgorithmConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property bruteForceConfig Configuration options for using brute force search, which simply implements the
* standard linear search in the database for each query.
* @property treeAhConfig Configuration options for using the tree-AH algorithm (Shallow tree + Asymmetric Hashing).
* Please refer to this paper for more details: https://arxiv.org/abs/1908.10396
* Structure is documented below.
*/
public data class AiIndexMetadataConfigAlgorithmConfigArgs(
public val bruteForceConfig: Output? =
null,
public val treeAhConfig: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.vertex.inputs.AiIndexMetadataConfigAlgorithmConfigArgs =
com.pulumi.gcp.vertex.inputs.AiIndexMetadataConfigAlgorithmConfigArgs.builder()
.bruteForceConfig(bruteForceConfig?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.treeAhConfig(treeAhConfig?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [AiIndexMetadataConfigAlgorithmConfigArgs].
*/
@PulumiTagMarker
public class AiIndexMetadataConfigAlgorithmConfigArgsBuilder internal constructor() {
private var bruteForceConfig: Output? =
null
private var treeAhConfig: Output? = null
/**
* @param value Configuration options for using brute force search, which simply implements the
* standard linear search in the database for each query.
*/
@JvmName("grgjieasrxmapxmd")
public suspend fun bruteForceConfig(`value`: Output) {
this.bruteForceConfig = value
}
/**
* @param value Configuration options for using the tree-AH algorithm (Shallow tree + Asymmetric Hashing).
* Please refer to this paper for more details: https://arxiv.org/abs/1908.10396
* Structure is documented below.
*/
@JvmName("egmrqstklxvxartx")
public suspend fun treeAhConfig(`value`: Output) {
this.treeAhConfig = value
}
/**
* @param value Configuration options for using brute force search, which simply implements the
* standard linear search in the database for each query.
*/
@JvmName("uuorkojeakeqayja")
public suspend fun bruteForceConfig(`value`: AiIndexMetadataConfigAlgorithmConfigBruteForceConfigArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.bruteForceConfig = mapped
}
/**
* @param argument Configuration options for using brute force search, which simply implements the
* standard linear search in the database for each query.
*/
@JvmName("hmlbantxekiiaprm")
public suspend fun bruteForceConfig(argument: suspend AiIndexMetadataConfigAlgorithmConfigBruteForceConfigArgsBuilder.() -> Unit) {
val toBeMapped = AiIndexMetadataConfigAlgorithmConfigBruteForceConfigArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.bruteForceConfig = mapped
}
/**
* @param value Configuration options for using the tree-AH algorithm (Shallow tree + Asymmetric Hashing).
* Please refer to this paper for more details: https://arxiv.org/abs/1908.10396
* Structure is documented below.
*/
@JvmName("abhvacbepxbamgji")
public suspend fun treeAhConfig(`value`: AiIndexMetadataConfigAlgorithmConfigTreeAhConfigArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.treeAhConfig = mapped
}
/**
* @param argument Configuration options for using the tree-AH algorithm (Shallow tree + Asymmetric Hashing).
* Please refer to this paper for more details: https://arxiv.org/abs/1908.10396
* Structure is documented below.
*/
@JvmName("unrcreaxnqclfocr")
public suspend fun treeAhConfig(argument: suspend AiIndexMetadataConfigAlgorithmConfigTreeAhConfigArgsBuilder.() -> Unit) {
val toBeMapped = AiIndexMetadataConfigAlgorithmConfigTreeAhConfigArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.treeAhConfig = mapped
}
internal fun build(): AiIndexMetadataConfigAlgorithmConfigArgs =
AiIndexMetadataConfigAlgorithmConfigArgs(
bruteForceConfig = bruteForceConfig,
treeAhConfig = treeAhConfig,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy