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

com.pulumi.awsnative.ses.kotlin.outputs.GetMailManagerIngressPointResult.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.ses.kotlin.outputs

import com.pulumi.awsnative.kotlin.outputs.Tag
import com.pulumi.awsnative.ses.kotlin.enums.MailManagerIngressPointIngressPointStatus
import com.pulumi.awsnative.ses.kotlin.enums.MailManagerIngressPointIngressPointStatusToUpdate
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property aRecord The DNS A Record that identifies your ingress endpoint. Configure your DNS Mail Exchange (MX) record with this value to route emails to Mail Manager.
 * @property ingressPointArn The Amazon Resource Name (ARN) of the ingress endpoint resource.
 * @property ingressPointId The identifier of the ingress endpoint resource.
 * @property ingressPointName A user friendly name for an ingress endpoint resource.
 * @property ruleSetId The identifier of an existing rule set that you attach to an ingress endpoint resource.
 * @property status The status of the ingress endpoint resource.
 * @property statusToUpdate The update status of an ingress endpoint.
 * @property tags The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
 * @property trafficPolicyId The identifier of an existing traffic policy that you attach to an ingress endpoint resource.
 */
public data class GetMailManagerIngressPointResult(
    public val aRecord: String? = null,
    public val ingressPointArn: String? = null,
    public val ingressPointId: String? = null,
    public val ingressPointName: String? = null,
    public val ruleSetId: String? = null,
    public val status: MailManagerIngressPointIngressPointStatus? = null,
    public val statusToUpdate: MailManagerIngressPointIngressPointStatusToUpdate? = null,
    public val tags: List? = null,
    public val trafficPolicyId: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.ses.outputs.GetMailManagerIngressPointResult): GetMailManagerIngressPointResult = GetMailManagerIngressPointResult(
            aRecord = javaType.aRecord().map({ args0 -> args0 }).orElse(null),
            ingressPointArn = javaType.ingressPointArn().map({ args0 -> args0 }).orElse(null),
            ingressPointId = javaType.ingressPointId().map({ args0 -> args0 }).orElse(null),
            ingressPointName = javaType.ingressPointName().map({ args0 -> args0 }).orElse(null),
            ruleSetId = javaType.ruleSetId().map({ args0 -> args0 }).orElse(null),
            status = javaType.status().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.ses.kotlin.enums.MailManagerIngressPointIngressPointStatus.Companion.toKotlin(args0)
                })
            }).orElse(null),
            statusToUpdate = javaType.statusToUpdate().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.ses.kotlin.enums.MailManagerIngressPointIngressPointStatusToUpdate.Companion.toKotlin(args0)
                })
            }).orElse(null),
            tags = javaType.tags().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
                })
            }),
            trafficPolicyId = javaType.trafficPolicyId().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy