All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.timestream.kotlin.outputs.RetentionPropertiesProperties.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.24.0.0
Show newest version
@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