
com.pulumi.awsnative.ssmcontacts.kotlin.inputs.ContactChannelTargetInfoArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.ssmcontacts.kotlin.inputs
import com.pulumi.awsnative.ssmcontacts.inputs.ContactChannelTargetInfoArgs.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 kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Information about the contact channel that SSM Incident Manager uses to engage the contact.
* @property channelId The Amazon Resource Name (ARN) of the contact channel.
* @property retryIntervalInMinutes The number of minutes to wait to retry sending engagement in the case the engagement initially fails.
*/
public data class ContactChannelTargetInfoArgs(
public val channelId: Output,
public val retryIntervalInMinutes: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.ssmcontacts.inputs.ContactChannelTargetInfoArgs =
com.pulumi.awsnative.ssmcontacts.inputs.ContactChannelTargetInfoArgs.builder()
.channelId(channelId.applyValue({ args0 -> args0 }))
.retryIntervalInMinutes(retryIntervalInMinutes.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ContactChannelTargetInfoArgs].
*/
@PulumiTagMarker
public class ContactChannelTargetInfoArgsBuilder internal constructor() {
private var channelId: Output? = null
private var retryIntervalInMinutes: Output? = null
/**
* @param value The Amazon Resource Name (ARN) of the contact channel.
*/
@JvmName("asbxjyyywwivugkh")
public suspend fun channelId(`value`: Output) {
this.channelId = value
}
/**
* @param value The number of minutes to wait to retry sending engagement in the case the engagement initially fails.
*/
@JvmName("pbrqcvymbhnhlgxo")
public suspend fun retryIntervalInMinutes(`value`: Output) {
this.retryIntervalInMinutes = value
}
/**
* @param value The Amazon Resource Name (ARN) of the contact channel.
*/
@JvmName("otqvixcwydgtwibp")
public suspend fun channelId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.channelId = mapped
}
/**
* @param value The number of minutes to wait to retry sending engagement in the case the engagement initially fails.
*/
@JvmName("atimncfsrbpmqmus")
public suspend fun retryIntervalInMinutes(`value`: Int) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.retryIntervalInMinutes = mapped
}
internal fun build(): ContactChannelTargetInfoArgs = ContactChannelTargetInfoArgs(
channelId = channelId ?: throw PulumiNullFieldException("channelId"),
retryIntervalInMinutes = retryIntervalInMinutes ?: throw
PulumiNullFieldException("retryIntervalInMinutes"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy