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

com.pulumi.digitalocean.kotlin.outputs.SpacesBucketLifecycleRuleNoncurrentVersionExpiration.kt Maven / Gradle / Ivy

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

package com.pulumi.digitalocean.kotlin.outputs

import kotlin.Int
import kotlin.Suppress

/**
 *
 * @property days Specifies the number of days after which an object's non-current versions expire.
 */
public data class SpacesBucketLifecycleRuleNoncurrentVersionExpiration(
    public val days: Int? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.digitalocean.outputs.SpacesBucketLifecycleRuleNoncurrentVersionExpiration): SpacesBucketLifecycleRuleNoncurrentVersionExpiration =
            SpacesBucketLifecycleRuleNoncurrentVersionExpiration(
                days = javaType.days().map({ args0 -> args0 }).orElse(null),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy