com.pulumi.gcp.storage.kotlin.outputs.BucketObjectRetention.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.storage.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property mode The retention policy mode. Either `Locked` or `Unlocked`.
* @property retainUntilTime The time to retain the object until in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
*
*/
public data class BucketObjectRetention(
public val mode: String,
public val retainUntilTime: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.storage.outputs.BucketObjectRetention): BucketObjectRetention = BucketObjectRetention(
mode = javaType.mode(),
retainUntilTime = javaType.retainUntilTime(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy