com.pulumi.gcp.storage.kotlin.outputs.BucketAutoclass.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.Boolean
import kotlin.String
import kotlin.Suppress
/**
*
* @property enabled While set to `true`, autoclass automatically transitions objects in your bucket to appropriate storage classes based on each object's access pattern.
* @property terminalStorageClass The storage class that objects in the bucket eventually transition to if they are not read for a certain length of time. Supported values include: `NEARLINE`, `ARCHIVE`.
*/
public data class BucketAutoclass(
public val enabled: Boolean,
public val terminalStorageClass: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.storage.outputs.BucketAutoclass): BucketAutoclass =
BucketAutoclass(
enabled = javaType.enabled(),
terminalStorageClass = javaType.terminalStorageClass().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy