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

com.pulumi.awsnative.iotanalytics.kotlin.outputs.ChannelRetentionPeriod.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.iotanalytics.kotlin.outputs

import kotlin.Boolean
import kotlin.Int
import kotlin.Suppress

/**
 *
 * @property numberOfDays The number of days that message data is kept. The `unlimited` parameter must be false.
 * @property unlimited If true, message data is kept indefinitely.
 */
public data class ChannelRetentionPeriod(
    public val numberOfDays: Int? = null,
    public val unlimited: Boolean? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.iotanalytics.outputs.ChannelRetentionPeriod): ChannelRetentionPeriod = ChannelRetentionPeriod(
            numberOfDays = javaType.numberOfDays().map({ args0 -> args0 }).orElse(null),
            unlimited = javaType.unlimited().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy