![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.timestream.kotlin.inputs.SchemaPropertiesArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.timestream.kotlin.inputs
import com.pulumi.awsnative.timestream.inputs.SchemaPropertiesArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
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
/**
* A Schema specifies the expected data model of the table.
* @property compositePartitionKey A non-empty list of partition keys defining the attributes used to partition the table data. The order of the list determines the partition hierarchy. The name and type of each partition key as well as the partition key order cannot be changed after the table is created. However, the enforcement level of each partition key can be changed.
*/
public data class SchemaPropertiesArgs(
public val compositePartitionKey: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.timestream.inputs.SchemaPropertiesArgs =
com.pulumi.awsnative.timestream.inputs.SchemaPropertiesArgs.builder()
.compositePartitionKey(
compositePartitionKey?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
).build()
}
/**
* Builder for [SchemaPropertiesArgs].
*/
@PulumiTagMarker
public class SchemaPropertiesArgsBuilder internal constructor() {
private var compositePartitionKey: Output>? = null
/**
* @param value A non-empty list of partition keys defining the attributes used to partition the table data. The order of the list determines the partition hierarchy. The name and type of each partition key as well as the partition key order cannot be changed after the table is created. However, the enforcement level of each partition key can be changed.
*/
@JvmName("ifjthioppswqxsyu")
public suspend fun compositePartitionKey(`value`: Output>) {
this.compositePartitionKey = value
}
@JvmName("lumaiccgwsopdtiw")
public suspend fun compositePartitionKey(vararg values: Output) {
this.compositePartitionKey = Output.all(values.asList())
}
/**
* @param values A non-empty list of partition keys defining the attributes used to partition the table data. The order of the list determines the partition hierarchy. The name and type of each partition key as well as the partition key order cannot be changed after the table is created. However, the enforcement level of each partition key can be changed.
*/
@JvmName("kndybbrfcstaiefa")
public suspend fun compositePartitionKey(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy