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

com.pulumi.awsnative.ses.kotlin.inputs.EmailIdentityFeedbackAttributesArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.ses.kotlin.inputs

import com.pulumi.awsnative.ses.inputs.EmailIdentityFeedbackAttributesArgs.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

/**
 * Used to enable or disable feedback forwarding for an identity.
 * @property emailForwardingEnabled If the value is true, you receive email notifications when bounce or complaint events occur
 */
public data class EmailIdentityFeedbackAttributesArgs(
    public val emailForwardingEnabled: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.ses.inputs.EmailIdentityFeedbackAttributesArgs =
        com.pulumi.awsnative.ses.inputs.EmailIdentityFeedbackAttributesArgs.builder()
            .emailForwardingEnabled(emailForwardingEnabled?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [EmailIdentityFeedbackAttributesArgs].
 */
@PulumiTagMarker
public class EmailIdentityFeedbackAttributesArgsBuilder internal constructor() {
    private var emailForwardingEnabled: Output? = null

    /**
     * @param value If the value is true, you receive email notifications when bounce or complaint events occur
     */
    @JvmName("ahelporvpnslrdmy")
    public suspend fun emailForwardingEnabled(`value`: Output) {
        this.emailForwardingEnabled = value
    }

    /**
     * @param value If the value is true, you receive email notifications when bounce or complaint events occur
     */
    @JvmName("itaupjsjxpeleywr")
    public suspend fun emailForwardingEnabled(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.emailForwardingEnabled = mapped
    }

    internal fun build(): EmailIdentityFeedbackAttributesArgs = EmailIdentityFeedbackAttributesArgs(
        emailForwardingEnabled = emailForwardingEnabled,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy