com.pulumi.awsnative.ssmincidents.kotlin.outputs.GetResponsePlanResult.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.ssmincidents.kotlin.outputs
import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property actions The list of actions.
* @property arn The ARN of the response plan.
* @property chatChannel The AWS Chatbot chat channel used for collaboration during an incident.
* @property displayName The display name of the response plan.
* @property engagements The list of engagements to use.
* @property incidentTemplate Details used to create an incident when using this response plan.
* @property integrations The list of integrations.
* @property tags The tags to apply to the response plan.
*/
public data class GetResponsePlanResult(
public val actions: List? = null,
public val arn: String? = null,
public val chatChannel: ResponsePlanChatChannel? = null,
public val displayName: String? = null,
public val engagements: List? = null,
public val incidentTemplate: ResponsePlanIncidentTemplate? = null,
public val integrations: List? = null,
public val tags: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.ssmincidents.outputs.GetResponsePlanResult): GetResponsePlanResult = GetResponsePlanResult(
actions = javaType.actions().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.ssmincidents.kotlin.outputs.ResponsePlanAction.Companion.toKotlin(args0)
})
}),
arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
chatChannel = javaType.chatChannel().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.ssmincidents.kotlin.outputs.ResponsePlanChatChannel.Companion.toKotlin(args0)
})
}).orElse(null),
displayName = javaType.displayName().map({ args0 -> args0 }).orElse(null),
engagements = javaType.engagements().map({ args0 -> args0 }),
incidentTemplate = javaType.incidentTemplate().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.ssmincidents.kotlin.outputs.ResponsePlanIncidentTemplate.Companion.toKotlin(args0)
})
}).orElse(null),
integrations = javaType.integrations().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.ssmincidents.kotlin.outputs.ResponsePlanIntegration.Companion.toKotlin(args0)
})
}),
tags = javaType.tags().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
})
}),
)
}
}