![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.cosmosdb.kotlin.inputs.CassandraTableSchemaClusterKeyArgs.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.CassandraTableSchemaClusterKeyArgs.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 name Name of the cluster key to be created.
* @property orderBy Order of the key. Currently supported values are `Asc` and `Desc`.
*/
public data class CassandraTableSchemaClusterKeyArgs(
public val name: Output,
public val orderBy: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.cosmosdb.inputs.CassandraTableSchemaClusterKeyArgs =
com.pulumi.azure.cosmosdb.inputs.CassandraTableSchemaClusterKeyArgs.builder()
.name(name.applyValue({ args0 -> args0 }))
.orderBy(orderBy.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [CassandraTableSchemaClusterKeyArgs].
*/
@PulumiTagMarker
public class CassandraTableSchemaClusterKeyArgsBuilder internal constructor() {
private var name: Output? = null
private var orderBy: Output? = null
/**
* @param value Name of the cluster key to be created.
*/
@JvmName("bxurikukussqblsl")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value Order of the key. Currently supported values are `Asc` and `Desc`.
*/
@JvmName("siuvsndvrehrkerc")
public suspend fun orderBy(`value`: Output) {
this.orderBy = value
}
/**
* @param value Name of the cluster key to be created.
*/
@JvmName("fqkbujypmhorlfdj")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value Order of the key. Currently supported values are `Asc` and `Desc`.
*/
@JvmName("ngdreqdobtsjrlqh")
public suspend fun orderBy(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.orderBy = mapped
}
internal fun build(): CassandraTableSchemaClusterKeyArgs = CassandraTableSchemaClusterKeyArgs(
name = name ?: throw PulumiNullFieldException("name"),
orderBy = orderBy ?: throw PulumiNullFieldException("orderBy"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy