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

com.pulumi.awsnative.ce.kotlin.outputs.AnomalySubscriptionSubscriber.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: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.ce.kotlin.outputs

import com.pulumi.awsnative.ce.kotlin.enums.AnomalySubscriptionSubscriberStatus
import com.pulumi.awsnative.ce.kotlin.enums.AnomalySubscriptionSubscriberType
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property address The email address or SNS Topic Amazon Resource Name (ARN), depending on the `Type` .
 * @property status Indicates if the subscriber accepts the notifications.
 * @property type The notification delivery channel.
 */
public data class AnomalySubscriptionSubscriber(
    public val address: String,
    public val status: AnomalySubscriptionSubscriberStatus? = null,
    public val type: AnomalySubscriptionSubscriberType,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.ce.outputs.AnomalySubscriptionSubscriber): AnomalySubscriptionSubscriber = AnomalySubscriptionSubscriber(
            address = javaType.address(),
            status = javaType.status().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.ce.kotlin.enums.AnomalySubscriptionSubscriberStatus.Companion.toKotlin(args0)
                })
            }).orElse(null),
            type = javaType.type().let({ args0 ->
                com.pulumi.awsnative.ce.kotlin.enums.AnomalySubscriptionSubscriberType.Companion.toKotlin(args0)
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy