![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.ssmincidents.kotlin.inputs.ResponsePlanIncidentTemplateArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.ssmincidents.kotlin.inputs
import com.pulumi.awsnative.ssmincidents.inputs.ResponsePlanIncidentTemplateArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* The incident template configuration.
* @property dedupeString The deduplication string.
* @property impact The impact value.
* @property incidentTags Tags that get applied to incidents created by the StartIncident API action.
* @property notificationTargets The list of notification targets.
* @property summary The summary string.
* @property title The title string.
*/
public data class ResponsePlanIncidentTemplateArgs(
public val dedupeString: Output? = null,
public val impact: Output,
public val incidentTags: Output>? = null,
public val notificationTargets: Output>? = null,
public val summary: Output? = null,
public val title: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.ssmincidents.inputs.ResponsePlanIncidentTemplateArgs =
com.pulumi.awsnative.ssmincidents.inputs.ResponsePlanIncidentTemplateArgs.builder()
.dedupeString(dedupeString?.applyValue({ args0 -> args0 }))
.impact(impact.applyValue({ args0 -> args0 }))
.incidentTags(
incidentTags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.notificationTargets(
notificationTargets?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.summary(summary?.applyValue({ args0 -> args0 }))
.title(title.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ResponsePlanIncidentTemplateArgs].
*/
@PulumiTagMarker
public class ResponsePlanIncidentTemplateArgsBuilder internal constructor() {
private var dedupeString: Output? = null
private var impact: Output? = null
private var incidentTags: Output>? = null
private var notificationTargets: Output>? = null
private var summary: Output? = null
private var title: Output? = null
/**
* @param value The deduplication string.
*/
@JvmName("ripexxvrisfnnecd")
public suspend fun dedupeString(`value`: Output) {
this.dedupeString = value
}
/**
* @param value The impact value.
*/
@JvmName("igyyboydrngrefmu")
public suspend fun impact(`value`: Output) {
this.impact = value
}
/**
* @param value Tags that get applied to incidents created by the StartIncident API action.
*/
@JvmName("vrvxgkbuqukfwcxl")
public suspend fun incidentTags(`value`: Output>) {
this.incidentTags = value
}
@JvmName("lwmxkvujwxhbhgew")
public suspend fun incidentTags(vararg values: Output) {
this.incidentTags = Output.all(values.asList())
}
/**
* @param values Tags that get applied to incidents created by the StartIncident API action.
*/
@JvmName("vvlqgyelcqmpqruv")
public suspend fun incidentTags(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy