com.pulumi.gcp.firestore.kotlin.inputs.FieldIndexConfigArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.firestore.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.firestore.inputs.FieldIndexConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
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 indexes The indexes to configure on the field. Order or array contains must be specified.
* Structure is documented below.
*/
public data class FieldIndexConfigArgs(
public val indexes: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.firestore.inputs.FieldIndexConfigArgs =
com.pulumi.gcp.firestore.inputs.FieldIndexConfigArgs.builder()
.indexes(
indexes?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [FieldIndexConfigArgs].
*/
@PulumiTagMarker
public class FieldIndexConfigArgsBuilder internal constructor() {
private var indexes: Output>? = null
/**
* @param value The indexes to configure on the field. Order or array contains must be specified.
* Structure is documented below.
*/
@JvmName("umfxfrrgmcawbqgu")
public suspend fun indexes(`value`: Output>) {
this.indexes = value
}
@JvmName("jyruscrbbhqwgwfy")
public suspend fun indexes(vararg values: Output) {
this.indexes = Output.all(values.asList())
}
/**
* @param values The indexes to configure on the field. Order or array contains must be specified.
* Structure is documented below.
*/
@JvmName("cviggrdwrgbylmqu")
public suspend fun indexes(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy