
com.pulumi.awsnative.shield.kotlin.inputs.ProactiveEngagementEmergencyContactArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.shield.kotlin.inputs
import com.pulumi.awsnative.shield.inputs.ProactiveEngagementEmergencyContactArgs.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.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* An emergency contact is used by Shield Response Team (SRT) to contact you for escalations to the SRT and to initiate proactive customer support. An emergency contact requires an email address.
* @property contactNotes Additional notes regarding the contact.
* @property emailAddress The email address for the contact.
* @property phoneNumber The phone number for the contact
*/
public data class ProactiveEngagementEmergencyContactArgs(
public val contactNotes: Output? = null,
public val emailAddress: Output,
public val phoneNumber: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.shield.inputs.ProactiveEngagementEmergencyContactArgs = com.pulumi.awsnative.shield.inputs.ProactiveEngagementEmergencyContactArgs.builder()
.contactNotes(contactNotes?.applyValue({ args0 -> args0 }))
.emailAddress(emailAddress.applyValue({ args0 -> args0 }))
.phoneNumber(phoneNumber?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ProactiveEngagementEmergencyContactArgs].
*/
@PulumiTagMarker
public class ProactiveEngagementEmergencyContactArgsBuilder internal constructor() {
private var contactNotes: Output? = null
private var emailAddress: Output? = null
private var phoneNumber: Output? = null
/**
* @param value Additional notes regarding the contact.
*/
@JvmName("rodsxlgeetlkduaf")
public suspend fun contactNotes(`value`: Output) {
this.contactNotes = value
}
/**
* @param value The email address for the contact.
*/
@JvmName("aqeoqauurltmopyr")
public suspend fun emailAddress(`value`: Output) {
this.emailAddress = value
}
/**
* @param value The phone number for the contact
*/
@JvmName("tlwlhrdiuruynwgo")
public suspend fun phoneNumber(`value`: Output) {
this.phoneNumber = value
}
/**
* @param value Additional notes regarding the contact.
*/
@JvmName("qhcqlsakbqgfkbdx")
public suspend fun contactNotes(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.contactNotes = mapped
}
/**
* @param value The email address for the contact.
*/
@JvmName("wdjprudwufvwbdth")
public suspend fun emailAddress(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.emailAddress = mapped
}
/**
* @param value The phone number for the contact
*/
@JvmName("eldeaqnlvqgvcith")
public suspend fun phoneNumber(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.phoneNumber = mapped
}
internal fun build(): ProactiveEngagementEmergencyContactArgs =
ProactiveEngagementEmergencyContactArgs(
contactNotes = contactNotes,
emailAddress = emailAddress ?: throw PulumiNullFieldException("emailAddress"),
phoneNumber = phoneNumber,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy