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

com.pulumi.azure.kotlin.inputs.ProviderFeaturesResourceGroupArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azure.kotlin.inputs

import com.pulumi.azure.inputs.ProviderFeaturesResourceGroupArgs.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

/**
 *
 * @property preventDeletionIfContainsResources
 */
public data class ProviderFeaturesResourceGroupArgs(
    public val preventDeletionIfContainsResources: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.inputs.ProviderFeaturesResourceGroupArgs =
        com.pulumi.azure.inputs.ProviderFeaturesResourceGroupArgs.builder()
            .preventDeletionIfContainsResources(
                preventDeletionIfContainsResources?.applyValue({ args0 ->
                    args0
                }),
            ).build()
}

/**
 * Builder for [ProviderFeaturesResourceGroupArgs].
 */
@PulumiTagMarker
public class ProviderFeaturesResourceGroupArgsBuilder internal constructor() {
    private var preventDeletionIfContainsResources: Output? = null

    /**
     * @param value
     */
    @JvmName("qrtdpxmfbcgvjrrj")
    public suspend fun preventDeletionIfContainsResources(`value`: Output) {
        this.preventDeletionIfContainsResources = value
    }

    /**
     * @param value
     */
    @JvmName("xenmfjdsiogucqcj")
    public suspend fun preventDeletionIfContainsResources(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.preventDeletionIfContainsResources = mapped
    }

    internal fun build(): ProviderFeaturesResourceGroupArgs = ProviderFeaturesResourceGroupArgs(
        preventDeletionIfContainsResources = preventDeletionIfContainsResources,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy