![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.ses.kotlin.outputs.GetMailManagerArchiveResult.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.MailManagerArchiveArchiveState
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property archiveArn The Amazon Resource Name (ARN) of the archive.
* @property archiveId The unique identifier of the archive.
* @property archiveName A unique name for the new archive.
* @property archiveState The current state of the archive:
* - `ACTIVE` – The archive is ready and available for use.
* - `PENDING_DELETION` – The archive has been marked for deletion and will be permanently deleted in 30 days. No further modifications can be made in this state.
* @property retention The period for retaining emails in the archive before automatic deletion.
* @property tags The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
*/
public data class GetMailManagerArchiveResult(
public val archiveArn: String? = null,
public val archiveId: String? = null,
public val archiveName: String? = null,
public val archiveState: MailManagerArchiveArchiveState? = null,
public val retention: MailManagerArchiveArchiveRetentionProperties? = null,
public val tags: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.ses.outputs.GetMailManagerArchiveResult): GetMailManagerArchiveResult = GetMailManagerArchiveResult(
archiveArn = javaType.archiveArn().map({ args0 -> args0 }).orElse(null),
archiveId = javaType.archiveId().map({ args0 -> args0 }).orElse(null),
archiveName = javaType.archiveName().map({ args0 -> args0 }).orElse(null),
archiveState = javaType.archiveState().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.ses.kotlin.enums.MailManagerArchiveArchiveState.Companion.toKotlin(args0)
})
}).orElse(null),
retention = javaType.retention().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.ses.kotlin.outputs.MailManagerArchiveArchiveRetentionProperties.Companion.toKotlin(args0)
})
}).orElse(null),
tags = javaType.tags().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy