
com.pulumi.awsnative.timestream.kotlin.outputs.RetentionPropertiesProperties.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.String
import kotlin.Suppress
/**
* The retention duration of the memory store and the magnetic store.
* @property magneticStoreRetentionPeriodInDays The duration for which data must be stored in the magnetic store.
* @property memoryStoreRetentionPeriodInHours The duration for which data must be stored in the memory store.
*/
public data class RetentionPropertiesProperties(
public val magneticStoreRetentionPeriodInDays: String? = null,
public val memoryStoreRetentionPeriodInHours: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.timestream.outputs.RetentionPropertiesProperties): RetentionPropertiesProperties = RetentionPropertiesProperties(
magneticStoreRetentionPeriodInDays = javaType.magneticStoreRetentionPeriodInDays().map({ args0 ->
args0
}).orElse(null),
memoryStoreRetentionPeriodInHours = javaType.memoryStoreRetentionPeriodInHours().map({ args0 ->
args0
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy