![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.s3.kotlin.outputs.StorageLensSelectionCriteria.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.s3.kotlin.outputs
import kotlin.Double
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
* Selection criteria for prefix-level metrics.
* @property delimiter Delimiter to divide S3 key into hierarchy of prefixes.
* @property maxDepth Max depth of prefixes of S3 key that Amazon S3 Storage Lens will analyze.
* @property minStorageBytesPercentage The minimum storage bytes threshold for the prefixes to be included in the analysis.
*/
public data class StorageLensSelectionCriteria(
public val delimiter: String? = null,
public val maxDepth: Int? = null,
public val minStorageBytesPercentage: Double? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.s3.outputs.StorageLensSelectionCriteria): StorageLensSelectionCriteria = StorageLensSelectionCriteria(
delimiter = javaType.delimiter().map({ args0 -> args0 }).orElse(null),
maxDepth = javaType.maxDepth().map({ args0 -> args0 }).orElse(null),
minStorageBytesPercentage = javaType.minStorageBytesPercentage().map({ args0 ->
args0
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy