com.pulumi.aws.keyspaces.kotlin.inputs.TableSchemaDefinitionClusteringKeyArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.keyspaces.kotlin.inputs
import com.pulumi.aws.keyspaces.inputs.TableSchemaDefinitionClusteringKeyArgs.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 The name of the clustering key column.
* @property orderBy The order modifier. Valid values: `ASC`, `DESC`.
*/
public data class TableSchemaDefinitionClusteringKeyArgs(
public val name: Output,
public val orderBy: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.keyspaces.inputs.TableSchemaDefinitionClusteringKeyArgs =
com.pulumi.aws.keyspaces.inputs.TableSchemaDefinitionClusteringKeyArgs.builder()
.name(name.applyValue({ args0 -> args0 }))
.orderBy(orderBy.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [TableSchemaDefinitionClusteringKeyArgs].
*/
@PulumiTagMarker
public class TableSchemaDefinitionClusteringKeyArgsBuilder internal constructor() {
private var name: Output? = null
private var orderBy: Output? = null
/**
* @param value The name of the clustering key column.
*/
@JvmName("vgcwoeabrqtigqum")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The order modifier. Valid values: `ASC`, `DESC`.
*/
@JvmName("pwevwcoiqmxlcost")
public suspend fun orderBy(`value`: Output) {
this.orderBy = value
}
/**
* @param value The name of the clustering key column.
*/
@JvmName("doyumxwifscrighj")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value The order modifier. Valid values: `ASC`, `DESC`.
*/
@JvmName("gvkfwxbafxwxkhvv")
public suspend fun orderBy(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.orderBy = mapped
}
internal fun build(): TableSchemaDefinitionClusteringKeyArgs =
TableSchemaDefinitionClusteringKeyArgs(
name = name ?: throw PulumiNullFieldException("name"),
orderBy = orderBy ?: throw PulumiNullFieldException("orderBy"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy