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

com.pulumi.aws.s3.kotlin.outputs.BucketLifecycleRuleNoncurrentVersionTransition.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: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.s3.kotlin.outputs

import kotlin.Int
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property days Specifies the number of days noncurrent object versions transition.
 * @property storageClass Specifies the Amazon S3 [storage class](https://docs.aws.amazon.com/AmazonS3/latest/API/API_Transition.html#AmazonS3-Type-Transition-StorageClass) to which you want the object to transition.
 */
public data class BucketLifecycleRuleNoncurrentVersionTransition(
    public val days: Int? = null,
    public val storageClass: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.aws.s3.outputs.BucketLifecycleRuleNoncurrentVersionTransition): BucketLifecycleRuleNoncurrentVersionTransition =
            BucketLifecycleRuleNoncurrentVersionTransition(
                days = javaType.days().map({ args0 -> args0 }).orElse(null),
                storageClass = javaType.storageClass(),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy