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

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

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import com.pulumi.awsnative.s3.inputs.StorageLensAdvancedDataProtectionMetricsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * Enables advanced data protection metrics.
 * @property isEnabled Specifies whether advanced data protection metrics are enabled or disabled.
 */
public data class StorageLensAdvancedDataProtectionMetricsArgs(
    public val isEnabled: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.s3.inputs.StorageLensAdvancedDataProtectionMetricsArgs = com.pulumi.awsnative.s3.inputs.StorageLensAdvancedDataProtectionMetricsArgs.builder()
        .isEnabled(isEnabled?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [StorageLensAdvancedDataProtectionMetricsArgs].
 */
@PulumiTagMarker
public class StorageLensAdvancedDataProtectionMetricsArgsBuilder internal constructor() {
    private var isEnabled: Output? = null

    /**
     * @param value Specifies whether advanced data protection metrics are enabled or disabled.
     */
    @JvmName("tfdsiptjquwcrdtr")
    public suspend fun isEnabled(`value`: Output) {
        this.isEnabled = value
    }

    /**
     * @param value Specifies whether advanced data protection metrics are enabled or disabled.
     */
    @JvmName("faiifyovqplrsivg")
    public suspend fun isEnabled(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.isEnabled = mapped
    }

    internal fun build(): StorageLensAdvancedDataProtectionMetricsArgs =
        StorageLensAdvancedDataProtectionMetricsArgs(
            isEnabled = isEnabled,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy