
com.pulumi.aws.finspace.kotlin.inputs.KxClusterDatabaseArgs.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.finspace.kotlin.inputs
import com.pulumi.aws.finspace.inputs.KxClusterDatabaseArgs.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 com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property cacheConfigurations Configuration details for the disk cache to increase performance reading from a KX database mounted to the cluster. See cache_configurations.
* @property changesetId A unique identifier of the changeset that is associated with the cluster.
* @property databaseName Name of the KX database.
* @property dataviewName The name of the dataview to be used for caching historical data on disk. You cannot update to a different dataview name once a cluster is created. Use `lifecycle` `ignore_changes` for database to prevent any undesirable behaviors.
*/
public data class KxClusterDatabaseArgs(
public val cacheConfigurations: Output>? = null,
public val changesetId: Output? = null,
public val databaseName: Output,
public val dataviewName: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.finspace.inputs.KxClusterDatabaseArgs =
com.pulumi.aws.finspace.inputs.KxClusterDatabaseArgs.builder()
.cacheConfigurations(
cacheConfigurations?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.changesetId(changesetId?.applyValue({ args0 -> args0 }))
.databaseName(databaseName.applyValue({ args0 -> args0 }))
.dataviewName(dataviewName?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [KxClusterDatabaseArgs].
*/
@PulumiTagMarker
public class KxClusterDatabaseArgsBuilder internal constructor() {
private var cacheConfigurations: Output>? = null
private var changesetId: Output? = null
private var databaseName: Output? = null
private var dataviewName: Output? = null
/**
* @param value Configuration details for the disk cache to increase performance reading from a KX database mounted to the cluster. See cache_configurations.
*/
@JvmName("ewnoorkgusgudmcb")
public suspend fun cacheConfigurations(`value`: Output>) {
this.cacheConfigurations = value
}
@JvmName("aqomtigqrpoajjua")
public suspend fun cacheConfigurations(vararg values: Output) {
this.cacheConfigurations = Output.all(values.asList())
}
/**
* @param values Configuration details for the disk cache to increase performance reading from a KX database mounted to the cluster. See cache_configurations.
*/
@JvmName("kwqvabrgnwwclfxd")
public suspend fun cacheConfigurations(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy