![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.s3.kotlin.outputs.StorageLensGroupOr.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.s3.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* The Storage Lens group will include objects that match any of the specified filter values.
* @property matchAnyPrefix This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
* @property matchAnySuffix This property contains the list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
* @property matchAnyTag This property contains the list of S3 object tags. At least one object tag must be specified. Up to 10 object tags are allowed.
* @property matchObjectAge This property filters objects that match the specified object age range.
* @property matchObjectSize This property contains the `BytesGreaterThan` and `BytesLessThan` values to define the object size range (minimum and maximum number of Bytes).
*/
public data class StorageLensGroupOr(
public val matchAnyPrefix: List? = null,
public val matchAnySuffix: List? = null,
public val matchAnyTag: List? = null,
public val matchObjectAge: StorageLensGroupMatchObjectAge? = null,
public val matchObjectSize: StorageLensGroupMatchObjectSize? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.s3.outputs.StorageLensGroupOr): StorageLensGroupOr = StorageLensGroupOr(
matchAnyPrefix = javaType.matchAnyPrefix().map({ args0 -> args0 }),
matchAnySuffix = javaType.matchAnySuffix().map({ args0 -> args0 }),
matchAnyTag = javaType.matchAnyTag().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.s3.kotlin.outputs.StorageLensGroupTag.Companion.toKotlin(args0)
})
}),
matchObjectAge = javaType.matchObjectAge().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.s3.kotlin.outputs.StorageLensGroupMatchObjectAge.Companion.toKotlin(args0)
})
}).orElse(null),
matchObjectSize = javaType.matchObjectSize().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.s3.kotlin.outputs.StorageLensGroupMatchObjectSize.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy