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

com.pulumi.azurenative.security.kotlin.inputs.GovernanceEmailNotificationArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azurenative.security.kotlin.inputs

import com.pulumi.azurenative.security.inputs.GovernanceEmailNotificationArgs.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

/**
 * The governance email weekly notification configuration.
 * @property disableManagerEmailNotification Exclude manager from weekly email notification.
 * @property disableOwnerEmailNotification Exclude  owner from weekly email notification.
 */
public data class GovernanceEmailNotificationArgs(
    public val disableManagerEmailNotification: Output? = null,
    public val disableOwnerEmailNotification: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.security.inputs.GovernanceEmailNotificationArgs =
        com.pulumi.azurenative.security.inputs.GovernanceEmailNotificationArgs.builder()
            .disableManagerEmailNotification(disableManagerEmailNotification?.applyValue({ args0 -> args0 }))
            .disableOwnerEmailNotification(
                disableOwnerEmailNotification?.applyValue({ args0 ->
                    args0
                }),
            ).build()
}

/**
 * Builder for [GovernanceEmailNotificationArgs].
 */
@PulumiTagMarker
public class GovernanceEmailNotificationArgsBuilder internal constructor() {
    private var disableManagerEmailNotification: Output? = null

    private var disableOwnerEmailNotification: Output? = null

    /**
     * @param value Exclude manager from weekly email notification.
     */
    @JvmName("qglagrdxamxruwvv")
    public suspend fun disableManagerEmailNotification(`value`: Output) {
        this.disableManagerEmailNotification = value
    }

    /**
     * @param value Exclude  owner from weekly email notification.
     */
    @JvmName("juaoehiuqqhpvkbl")
    public suspend fun disableOwnerEmailNotification(`value`: Output) {
        this.disableOwnerEmailNotification = value
    }

    /**
     * @param value Exclude manager from weekly email notification.
     */
    @JvmName("xashhqtcqbrhgvsi")
    public suspend fun disableManagerEmailNotification(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.disableManagerEmailNotification = mapped
    }

    /**
     * @param value Exclude  owner from weekly email notification.
     */
    @JvmName("sccqnhxndvhpyjqd")
    public suspend fun disableOwnerEmailNotification(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.disableOwnerEmailNotification = mapped
    }

    internal fun build(): GovernanceEmailNotificationArgs = GovernanceEmailNotificationArgs(
        disableManagerEmailNotification = disableManagerEmailNotification,
        disableOwnerEmailNotification = disableOwnerEmailNotification,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy