All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.s3.kotlin.inputs.StorageLensGroupLevelArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 0.122.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.s3.kotlin.inputs

import com.pulumi.awsnative.s3.inputs.StorageLensGroupLevelArgs.builder
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.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 * Specifies the details of Amazon S3 Storage Lens Group configuration.
 * @property storageLensGroupSelectionCriteria This property indicates which Storage Lens group ARNs to include or exclude in the Storage Lens group aggregation. If this value is left null, then all Storage Lens groups are selected.
 */
public data class StorageLensGroupLevelArgs(
    public val storageLensGroupSelectionCriteria: Output? =
        null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.s3.inputs.StorageLensGroupLevelArgs =
        com.pulumi.awsnative.s3.inputs.StorageLensGroupLevelArgs.builder()
            .storageLensGroupSelectionCriteria(
                storageLensGroupSelectionCriteria?.applyValue({ args0 ->
                    args0.let({ args0 -> args0.toJava() })
                }),
            ).build()
}

/**
 * Builder for [StorageLensGroupLevelArgs].
 */
@PulumiTagMarker
public class StorageLensGroupLevelArgsBuilder internal constructor() {
    private var storageLensGroupSelectionCriteria: Output? =
        null

    /**
     * @param value This property indicates which Storage Lens group ARNs to include or exclude in the Storage Lens group aggregation. If this value is left null, then all Storage Lens groups are selected.
     */
    @JvmName("wambjobintwkpeul")
    public suspend fun storageLensGroupSelectionCriteria(`value`: Output) {
        this.storageLensGroupSelectionCriteria = value
    }

    /**
     * @param value This property indicates which Storage Lens group ARNs to include or exclude in the Storage Lens group aggregation. If this value is left null, then all Storage Lens groups are selected.
     */
    @JvmName("ojxynxakrkagssuh")
    public suspend fun storageLensGroupSelectionCriteria(`value`: StorageLensGroupSelectionCriteriaArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.storageLensGroupSelectionCriteria = mapped
    }

    /**
     * @param argument This property indicates which Storage Lens group ARNs to include or exclude in the Storage Lens group aggregation. If this value is left null, then all Storage Lens groups are selected.
     */
    @JvmName("ggrtowlyogggntja")
    public suspend fun storageLensGroupSelectionCriteria(argument: suspend StorageLensGroupSelectionCriteriaArgsBuilder.() -> Unit) {
        val toBeMapped = StorageLensGroupSelectionCriteriaArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.storageLensGroupSelectionCriteria = mapped
    }

    internal fun build(): StorageLensGroupLevelArgs = StorageLensGroupLevelArgs(
        storageLensGroupSelectionCriteria = storageLensGroupSelectionCriteria,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy