com.pulumi.awsnative.ssmcontacts.kotlin.outputs.GetPlanResult.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.ssmcontacts.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property arn The Amazon Resource Name (ARN) of the contact.
* @property stages The stages that an escalation plan or engagement plan engages contacts and contact methods in.
*/
public data class GetPlanResult(
public val arn: String? = null,
public val stages: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.ssmcontacts.outputs.GetPlanResult): GetPlanResult = GetPlanResult(
arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
stages = javaType.stages().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.ssmcontacts.kotlin.outputs.PlanStage.Companion.toKotlin(args0)
})
}),
)
}
}