
com.pulumi.azure.cosmosdb.kotlin.inputs.GremlinGraphIndexPolicyCompositeIndexIndexArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.cosmosdb.kotlin.inputs
import com.pulumi.azure.cosmosdb.inputs.GremlinGraphIndexPolicyCompositeIndexIndexArgs.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 kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property order Order of the index. Possible values are `Ascending` or `Descending`.
* @property path Path for which the indexing behaviour applies to.
*/
public data class GremlinGraphIndexPolicyCompositeIndexIndexArgs(
public val order: Output,
public val path: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azure.cosmosdb.inputs.GremlinGraphIndexPolicyCompositeIndexIndexArgs =
com.pulumi.azure.cosmosdb.inputs.GremlinGraphIndexPolicyCompositeIndexIndexArgs.builder()
.order(order.applyValue({ args0 -> args0 }))
.path(path.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [GremlinGraphIndexPolicyCompositeIndexIndexArgs].
*/
@PulumiTagMarker
public class GremlinGraphIndexPolicyCompositeIndexIndexArgsBuilder internal constructor() {
private var order: Output? = null
private var path: Output? = null
/**
* @param value Order of the index. Possible values are `Ascending` or `Descending`.
*/
@JvmName("owggvgxnkhrggkah")
public suspend fun order(`value`: Output) {
this.order = value
}
/**
* @param value Path for which the indexing behaviour applies to.
*/
@JvmName("kmqfqsgebtgqytan")
public suspend fun path(`value`: Output) {
this.path = value
}
/**
* @param value Order of the index. Possible values are `Ascending` or `Descending`.
*/
@JvmName("orpomuidotnjhhuh")
public suspend fun order(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.order = mapped
}
/**
* @param value Path for which the indexing behaviour applies to.
*/
@JvmName("srmpalqhxlhvqivf")
public suspend fun path(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.path = mapped
}
internal fun build(): GremlinGraphIndexPolicyCompositeIndexIndexArgs =
GremlinGraphIndexPolicyCompositeIndexIndexArgs(
order = order ?: throw PulumiNullFieldException("order"),
path = path ?: throw PulumiNullFieldException("path"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy