
com.pulumi.awsnative.s3.kotlin.enums.BucketInventoryConfigurationIncludedObjectVersions.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.s3.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* Object versions to include in the inventory list. If set to ``All``, the list includes all the object versions, which adds the version-related fields ``VersionId``, ``IsLatest``, and ``DeleteMarker`` to the list. If set to ``Current``, the list does not contain these version-related fields.
*/
public enum class BucketInventoryConfigurationIncludedObjectVersions(
public val javaValue: com.pulumi.awsnative.s3.enums.BucketInventoryConfigurationIncludedObjectVersions,
) :
ConvertibleToJava {
All(com.pulumi.awsnative.s3.enums.BucketInventoryConfigurationIncludedObjectVersions.All),
Current(com.pulumi.awsnative.s3.enums.BucketInventoryConfigurationIncludedObjectVersions.Current),
;
override fun toJava(): com.pulumi.awsnative.s3.enums.BucketInventoryConfigurationIncludedObjectVersions = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.s3.enums.BucketInventoryConfigurationIncludedObjectVersions): BucketInventoryConfigurationIncludedObjectVersions =
BucketInventoryConfigurationIncludedObjectVersions.values().first { it.javaValue == javaType }
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy