com.pulumi.awsnative.ses.kotlin.inputs.MailManagerRuleSetAnalysisArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.awsnative.ses.kotlin.inputs
import com.pulumi.awsnative.ses.inputs.MailManagerRuleSetAnalysisArgs.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
/**
*
* @property analyzer
* @property resultField
*/
public data class MailManagerRuleSetAnalysisArgs(
public val analyzer: Output,
public val resultField: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.ses.inputs.MailManagerRuleSetAnalysisArgs =
com.pulumi.awsnative.ses.inputs.MailManagerRuleSetAnalysisArgs.builder()
.analyzer(analyzer.applyValue({ args0 -> args0 }))
.resultField(resultField.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [MailManagerRuleSetAnalysisArgs].
*/
@PulumiTagMarker
public class MailManagerRuleSetAnalysisArgsBuilder internal constructor() {
private var analyzer: Output? = null
private var resultField: Output? = null
/**
* @param value
*/
@JvmName("fojcyicwlnvkbelp")
public suspend fun analyzer(`value`: Output) {
this.analyzer = value
}
/**
* @param value
*/
@JvmName("ohfhycvbodusffjc")
public suspend fun resultField(`value`: Output) {
this.resultField = value
}
/**
* @param value
*/
@JvmName("labtpsseganjbyto")
public suspend fun analyzer(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.analyzer = mapped
}
/**
* @param value
*/
@JvmName("ltesivhthbkcdqjr")
public suspend fun resultField(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.resultField = mapped
}
internal fun build(): MailManagerRuleSetAnalysisArgs = MailManagerRuleSetAnalysisArgs(
analyzer = analyzer ?: throw PulumiNullFieldException("analyzer"),
resultField = resultField ?: throw PulumiNullFieldException("resultField"),
)
}