com.pulumi.aws.rolesanywhere.kotlin.inputs.TrustAnchorNotificationSettingArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.rolesanywhere.kotlin.inputs
import com.pulumi.aws.rolesanywhere.inputs.TrustAnchorNotificationSettingArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property channel
* @property configuredBy
* @property enabled Whether or not the Trust Anchor should be enabled.
* @property event
* @property threshold
*/
public data class TrustAnchorNotificationSettingArgs(
public val channel: Output? = null,
public val configuredBy: Output? = null,
public val enabled: Output? = null,
public val event: Output? = null,
public val threshold: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.rolesanywhere.inputs.TrustAnchorNotificationSettingArgs =
com.pulumi.aws.rolesanywhere.inputs.TrustAnchorNotificationSettingArgs.builder()
.channel(channel?.applyValue({ args0 -> args0 }))
.configuredBy(configuredBy?.applyValue({ args0 -> args0 }))
.enabled(enabled?.applyValue({ args0 -> args0 }))
.event(event?.applyValue({ args0 -> args0 }))
.threshold(threshold?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [TrustAnchorNotificationSettingArgs].
*/
@PulumiTagMarker
public class TrustAnchorNotificationSettingArgsBuilder internal constructor() {
private var channel: Output? = null
private var configuredBy: Output? = null
private var enabled: Output? = null
private var event: Output? = null
private var threshold: Output? = null
/**
* @param value
*/
@JvmName("tswcpgdpcsqpjtxl")
public suspend fun channel(`value`: Output) {
this.channel = value
}
/**
* @param value
*/
@JvmName("okcjnfbmmoljldrt")
public suspend fun configuredBy(`value`: Output) {
this.configuredBy = value
}
/**
* @param value Whether or not the Trust Anchor should be enabled.
*/
@JvmName("arvpamvcpdqddxll")
public suspend fun enabled(`value`: Output) {
this.enabled = value
}
/**
* @param value
*/
@JvmName("jiioeyjxvdcolhyn")
public suspend fun event(`value`: Output) {
this.event = value
}
/**
* @param value
*/
@JvmName("owsgflecrhtukffw")
public suspend fun threshold(`value`: Output) {
this.threshold = value
}
/**
* @param value
*/
@JvmName("vqrwojyeypvdkwql")
public suspend fun channel(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.channel = mapped
}
/**
* @param value
*/
@JvmName("uutgyjvkcmvgcyrh")
public suspend fun configuredBy(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.configuredBy = mapped
}
/**
* @param value Whether or not the Trust Anchor should be enabled.
*/
@JvmName("svckeqgngoartnyb")
public suspend fun enabled(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.enabled = mapped
}
/**
* @param value
*/
@JvmName("qpkotlgxdogmfbpj")
public suspend fun event(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.event = mapped
}
/**
* @param value
*/
@JvmName("abxpwtsseeatarow")
public suspend fun threshold(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.threshold = mapped
}
internal fun build(): TrustAnchorNotificationSettingArgs = TrustAnchorNotificationSettingArgs(
channel = channel,
configuredBy = configuredBy,
enabled = enabled,
event = event,
threshold = threshold,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy