com.pulumi.azure.cosmosdb.kotlin.inputs.GremlinGraphIndexPolicySpatialIndexArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.cosmosdb.kotlin.inputs
import com.pulumi.azure.cosmosdb.inputs.GremlinGraphIndexPolicySpatialIndexArgs.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.collections.List
import kotlin.jvm.JvmName
/**
*
* @property path Path for which the indexing behaviour applies to. According to the service design, all spatial types including `LineString`, `MultiPolygon`, `Point`, and `Polygon` will be applied to the path.
* @property types
*/
public data class GremlinGraphIndexPolicySpatialIndexArgs(
public val path: Output,
public val types: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.cosmosdb.inputs.GremlinGraphIndexPolicySpatialIndexArgs =
com.pulumi.azure.cosmosdb.inputs.GremlinGraphIndexPolicySpatialIndexArgs.builder()
.path(path.applyValue({ args0 -> args0 }))
.types(types?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [GremlinGraphIndexPolicySpatialIndexArgs].
*/
@PulumiTagMarker
public class GremlinGraphIndexPolicySpatialIndexArgsBuilder internal constructor() {
private var path: Output? = null
private var types: Output>? = null
/**
* @param value Path for which the indexing behaviour applies to. According to the service design, all spatial types including `LineString`, `MultiPolygon`, `Point`, and `Polygon` will be applied to the path.
*/
@JvmName("yaivdkpounhqdusq")
public suspend fun path(`value`: Output) {
this.path = value
}
/**
* @param value
*/
@JvmName("yaajuuxiynrjjkvm")
public suspend fun types(`value`: Output>) {
this.types = value
}
@JvmName("mvopfanmqchfkexu")
public suspend fun types(vararg values: Output) {
this.types = Output.all(values.asList())
}
/**
* @param values
*/
@JvmName("ynhxeqdflxgffulp")
public suspend fun types(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy