![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.ssmcontacts.kotlin.inputs.ContactTargetsArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.ssmcontacts.kotlin.inputs
import com.pulumi.awsnative.ssmcontacts.inputs.ContactTargetsArgs.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
/**
* The contacts or contact methods that the escalation plan or engagement plan is engaging.
* @property channelTargetInfo Information about the contact channel that Incident Manager engages.
* @property contactTargetInfo The contact that Incident Manager is engaging during an incident.
*/
public data class ContactTargetsArgs(
public val channelTargetInfo: Output? = null,
public val contactTargetInfo: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.ssmcontacts.inputs.ContactTargetsArgs =
com.pulumi.awsnative.ssmcontacts.inputs.ContactTargetsArgs.builder()
.channelTargetInfo(channelTargetInfo?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.contactTargetInfo(
contactTargetInfo?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [ContactTargetsArgs].
*/
@PulumiTagMarker
public class ContactTargetsArgsBuilder internal constructor() {
private var channelTargetInfo: Output? = null
private var contactTargetInfo: Output? = null
/**
* @param value Information about the contact channel that Incident Manager engages.
*/
@JvmName("pjaialtrprmpwksv")
public suspend fun channelTargetInfo(`value`: Output) {
this.channelTargetInfo = value
}
/**
* @param value The contact that Incident Manager is engaging during an incident.
*/
@JvmName("uvianridsfucvhvy")
public suspend fun contactTargetInfo(`value`: Output) {
this.contactTargetInfo = value
}
/**
* @param value Information about the contact channel that Incident Manager engages.
*/
@JvmName("vhqrofxyihvvygnj")
public suspend fun channelTargetInfo(`value`: ContactChannelTargetInfoArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.channelTargetInfo = mapped
}
/**
* @param argument Information about the contact channel that Incident Manager engages.
*/
@JvmName("eivvxwcveuxxvund")
public suspend fun channelTargetInfo(argument: suspend ContactChannelTargetInfoArgsBuilder.() -> Unit) {
val toBeMapped = ContactChannelTargetInfoArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.channelTargetInfo = mapped
}
/**
* @param value The contact that Incident Manager is engaging during an incident.
*/
@JvmName("xotndwaoaknqwiwi")
public suspend fun contactTargetInfo(`value`: ContactTargetInfoArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.contactTargetInfo = mapped
}
/**
* @param argument The contact that Incident Manager is engaging during an incident.
*/
@JvmName("ludpkfsucxyyxfve")
public suspend fun contactTargetInfo(argument: suspend ContactTargetInfoArgsBuilder.() -> Unit) {
val toBeMapped = ContactTargetInfoArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.contactTargetInfo = mapped
}
internal fun build(): ContactTargetsArgs = ContactTargetsArgs(
channelTargetInfo = channelTargetInfo,
contactTargetInfo = contactTargetInfo,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy