
com.pulumi.awsnative.s3.kotlin.outputs.StorageLensGroupAnd.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.awsnative.s3.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* The Storage Lens group will include objects that match all 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 a list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
* @property matchAnyTag This property contains the list of object tags. At least one object tag must be specified. Up to 10 object tags are allowed.
* @property matchObjectAge This property contains `DaysGreaterThan` and `DaysLessThan` properties to define the object age range (minimum and maximum number of days).
* @property matchObjectSize This property contains `BytesGreaterThan` and `BytesLessThan` to define the object size range (minimum and maximum number of Bytes).
*/
public data class StorageLensGroupAnd(
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.StorageLensGroupAnd): StorageLensGroupAnd = StorageLensGroupAnd(
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