com.pulumi.awsnative.timestream.kotlin.outputs.MagneticStoreWritePropertiesProperties.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.awsnative.timestream.kotlin.outputs
import kotlin.Boolean
import kotlin.Suppress
/**
* The properties that determine whether magnetic store writes are enabled.
* @property enableMagneticStoreWrites Boolean flag indicating whether magnetic store writes are enabled.
* @property magneticStoreRejectedDataLocation Location to store information about records that were asynchronously rejected during magnetic store writes.
*/
public data class MagneticStoreWritePropertiesProperties(
public val enableMagneticStoreWrites: Boolean,
public val magneticStoreRejectedDataLocation: MagneticStoreWritePropertiesPropertiesMagneticStoreRejectedDataLocationProperties? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.timestream.outputs.MagneticStoreWritePropertiesProperties): MagneticStoreWritePropertiesProperties = MagneticStoreWritePropertiesProperties(
enableMagneticStoreWrites = javaType.enableMagneticStoreWrites(),
magneticStoreRejectedDataLocation = javaType.magneticStoreRejectedDataLocation().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.timestream.kotlin.outputs.MagneticStoreWritePropertiesPropertiesMagneticStoreRejectedDataLocationProperties.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}