Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
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.alicloud.ots.kotlin.inputs
import com.pulumi.alicloud.ots.inputs.SearchIndexSchemaArgs.builder
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.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property fieldSchemas A list of field schemas. See `field_schema` below.
* @property indexSettings The settings of the search index, including routingFields. See `index_setting` below.
* @property indexSorts The presorting settings of the search index, including sorters. If no value is specified for the indexSort parameter, field values are sorted by primary key by default. See `index_sort` below.
*/
public data class SearchIndexSchemaArgs(
public val fieldSchemas: Output>,
public val indexSettings: Output>? = null,
public val indexSorts: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.alicloud.ots.inputs.SearchIndexSchemaArgs =
com.pulumi.alicloud.ots.inputs.SearchIndexSchemaArgs.builder()
.fieldSchemas(
fieldSchemas.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.indexSettings(
indexSettings?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.indexSorts(
indexSorts?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [SearchIndexSchemaArgs].
*/
@PulumiTagMarker
public class SearchIndexSchemaArgsBuilder internal constructor() {
private var fieldSchemas: Output>? = null
private var indexSettings: Output>? = null
private var indexSorts: Output>? = null
/**
* @param value A list of field schemas. See `field_schema` below.
*/
@JvmName("hvdroapwvorcecfx")
public suspend fun fieldSchemas(`value`: Output>) {
this.fieldSchemas = value
}
@JvmName("jjjuneprmkpivamc")
public suspend fun fieldSchemas(vararg values: Output) {
this.fieldSchemas = Output.all(values.asList())
}
/**
* @param values A list of field schemas. See `field_schema` below.
*/
@JvmName("wmfxnyvkwvywuosq")
public suspend fun fieldSchemas(values: List