![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.backup.kotlin.outputs.GetBackupPlanResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.backup.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
/**
*
* @property backupPlan Uniquely identifies the backup plan to be associated with the selection of resources.
* @property backupPlanArn An Amazon Resource Name (ARN) that uniquely identifies a backup plan; for example, `arn:aws:backup:us-east-1:123456789012:plan:8F81F553-3A74-4A3F-B93D-B3360DC80C50` .
* @property backupPlanId Uniquely identifies a backup plan.
* @property backupPlanTags The tags to assign to the backup plan.
* @property versionId Unique, randomly generated, Unicode, UTF-8 encoded strings that are at most 1,024 bytes long. Version Ids cannot be edited.
*/
public data class GetBackupPlanResult(
public val backupPlan: BackupPlanResourceType? = null,
public val backupPlanArn: String? = null,
public val backupPlanId: String? = null,
public val backupPlanTags: Map? = null,
public val versionId: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.backup.outputs.GetBackupPlanResult): GetBackupPlanResult = GetBackupPlanResult(
backupPlan = javaType.backupPlan().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.backup.kotlin.outputs.BackupPlanResourceType.Companion.toKotlin(args0)
})
}).orElse(null),
backupPlanArn = javaType.backupPlanArn().map({ args0 -> args0 }).orElse(null),
backupPlanId = javaType.backupPlanId().map({ args0 -> args0 }).orElse(null),
backupPlanTags = javaType.backupPlanTags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
versionId = javaType.versionId().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy