com.pulumi.awsnative.kendra.kotlin.inputs.IndexRelevanceArgs.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.IndexRelevanceArgs.builder
import com.pulumi.awsnative.kendra.kotlin.enums.IndexOrder
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.Int
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property duration
* @property freshness
* @property importance
* @property rankOrder
* @property valueImportanceItems
*/
public data class IndexRelevanceArgs(
public val duration: Output? = null,
public val freshness: Output? = null,
public val importance: Output? = null,
public val rankOrder: Output? = null,
public val valueImportanceItems: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.kendra.inputs.IndexRelevanceArgs =
com.pulumi.awsnative.kendra.inputs.IndexRelevanceArgs.builder()
.duration(duration?.applyValue({ args0 -> args0 }))
.freshness(freshness?.applyValue({ args0 -> args0 }))
.importance(importance?.applyValue({ args0 -> args0 }))
.rankOrder(rankOrder?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.valueImportanceItems(
valueImportanceItems?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
).build()
}
/**
* Builder for [IndexRelevanceArgs].
*/
@PulumiTagMarker
public class IndexRelevanceArgsBuilder internal constructor() {
private var duration: Output? = null
private var freshness: Output? = null
private var importance: Output? = null
private var rankOrder: Output? = null
private var valueImportanceItems: Output>? = null
/**
* @param value
*/
@JvmName("nvkmsyltxqaxniqq")
public suspend fun duration(`value`: Output) {
this.duration = value
}
/**
* @param value
*/
@JvmName("hcpbhbxfkojmpyqn")
public suspend fun freshness(`value`: Output) {
this.freshness = value
}
/**
* @param value
*/
@JvmName("sukphhjxemfhvhdi")
public suspend fun importance(`value`: Output) {
this.importance = value
}
/**
* @param value
*/
@JvmName("udmllfrlrscrnuys")
public suspend fun rankOrder(`value`: Output) {
this.rankOrder = value
}
/**
* @param value
*/
@JvmName("kshnvybkfyjseqdj")
public suspend fun valueImportanceItems(`value`: Output>) {
this.valueImportanceItems = value
}
@JvmName("cfccwcukwjbbkhvg")
public suspend fun valueImportanceItems(vararg values: Output) {
this.valueImportanceItems = Output.all(values.asList())
}
/**
* @param values
*/
@JvmName("nguswbjhofgftlir")
public suspend fun valueImportanceItems(values: List