
com.pulumi.awsnative.ssmincidents.kotlin.inputs.ResponsePlanIntegrationArgs.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.inputs
import com.pulumi.awsnative.ssmincidents.inputs.ResponsePlanIntegrationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property pagerDutyConfiguration Information about the PagerDuty service where the response plan creates an incident.
*/
public data class ResponsePlanIntegrationArgs(
public val pagerDutyConfiguration: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.ssmincidents.inputs.ResponsePlanIntegrationArgs =
com.pulumi.awsnative.ssmincidents.inputs.ResponsePlanIntegrationArgs.builder()
.pagerDutyConfiguration(
pagerDutyConfiguration?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [ResponsePlanIntegrationArgs].
*/
@PulumiTagMarker
public class ResponsePlanIntegrationArgsBuilder internal constructor() {
private var pagerDutyConfiguration: Output? = null
/**
* @param value Information about the PagerDuty service where the response plan creates an incident.
*/
@JvmName("xxepwihaudmeyobs")
public suspend fun pagerDutyConfiguration(`value`: Output) {
this.pagerDutyConfiguration = value
}
/**
* @param value Information about the PagerDuty service where the response plan creates an incident.
*/
@JvmName("ftwyeqwkefdsatpf")
public suspend fun pagerDutyConfiguration(`value`: ResponsePlanPagerDutyConfigurationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.pagerDutyConfiguration = mapped
}
/**
* @param argument Information about the PagerDuty service where the response plan creates an incident.
*/
@JvmName("xxgcyxnbthuvejwl")
public suspend fun pagerDutyConfiguration(argument: suspend ResponsePlanPagerDutyConfigurationArgsBuilder.() -> Unit) {
val toBeMapped = ResponsePlanPagerDutyConfigurationArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.pagerDutyConfiguration = mapped
}
internal fun build(): ResponsePlanIntegrationArgs = ResponsePlanIntegrationArgs(
pagerDutyConfiguration = pagerDutyConfiguration,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy