com.pulumi.awsnative.s3.kotlin.StorageLensGroupArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.s3.kotlin
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.awsnative.s3.StorageLensGroupArgs.builder
import com.pulumi.awsnative.s3.kotlin.inputs.StorageLensGroupFilterArgs
import com.pulumi.awsnative.s3.kotlin.inputs.StorageLensGroupFilterArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* The AWS::S3::StorageLensGroup resource is an Amazon S3 resource type that you can use to create Storage Lens Group.
* @property filter This property contains the criteria for the Storage Lens group data that is displayed
* @property name This property contains the Storage Lens group name.
* @property tags A set of tags (key-value pairs) for this Amazon S3 Storage Lens Group.
*/
public data class StorageLensGroupArgs(
public val filter: Output? = null,
public val name: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.s3.StorageLensGroupArgs =
com.pulumi.awsnative.s3.StorageLensGroupArgs.builder()
.filter(filter?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.name(name?.applyValue({ args0 -> args0 }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [StorageLensGroupArgs].
*/
@PulumiTagMarker
public class StorageLensGroupArgsBuilder internal constructor() {
private var filter: Output? = null
private var name: Output? = null
private var tags: Output>? = null
/**
* @param value This property contains the criteria for the Storage Lens group data that is displayed
*/
@JvmName("ldwjqxiddjesxhlw")
public suspend fun filter(`value`: Output) {
this.filter = value
}
/**
* @param value This property contains the Storage Lens group name.
*/
@JvmName("bxvdlatwwoaoqktb")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value A set of tags (key-value pairs) for this Amazon S3 Storage Lens Group.
*/
@JvmName("tnhjgouerymnxafu")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("ubfspvliflakmlhl")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values A set of tags (key-value pairs) for this Amazon S3 Storage Lens Group.
*/
@JvmName("xjgrheynnbpjuikm")
public suspend fun tags(values: List