com.pulumi.aws.chimesdkmediapipelines.kotlin.inputs.MediaInsightsPipelineConfigurationRealTimeAlertConfigurationRuleSentimentConfigurationArgs.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.chimesdkmediapipelines.kotlin.inputs
import com.pulumi.aws.chimesdkmediapipelines.inputs.MediaInsightsPipelineConfigurationRealTimeAlertConfigurationRuleSentimentConfigurationArgs.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
/**
*
* @property ruleName Rule name.
* @property sentimentType Sentiment type to match.
* @property timePeriod Analysis interval.
*/
public data class
MediaInsightsPipelineConfigurationRealTimeAlertConfigurationRuleSentimentConfigurationArgs(
public val ruleName: Output,
public val sentimentType: Output,
public val timePeriod: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.aws.chimesdkmediapipelines.inputs.MediaInsightsPipelineConfigurationRealTimeAlertConfigurationRuleSentimentConfigurationArgs =
com.pulumi.aws.chimesdkmediapipelines.inputs.MediaInsightsPipelineConfigurationRealTimeAlertConfigurationRuleSentimentConfigurationArgs.builder()
.ruleName(ruleName.applyValue({ args0 -> args0 }))
.sentimentType(sentimentType.applyValue({ args0 -> args0 }))
.timePeriod(timePeriod.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [MediaInsightsPipelineConfigurationRealTimeAlertConfigurationRuleSentimentConfigurationArgs].
*/
@PulumiTagMarker
public class
MediaInsightsPipelineConfigurationRealTimeAlertConfigurationRuleSentimentConfigurationArgsBuilder
internal constructor() {
private var ruleName: Output? = null
private var sentimentType: Output? = null
private var timePeriod: Output? = null
/**
* @param value Rule name.
*/
@JvmName("vbskeimtbavrvihp")
public suspend fun ruleName(`value`: Output) {
this.ruleName = value
}
/**
* @param value Sentiment type to match.
*/
@JvmName("mahvoehqxfvmffja")
public suspend fun sentimentType(`value`: Output) {
this.sentimentType = value
}
/**
* @param value Analysis interval.
*/
@JvmName("lkojcltuvgdwktii")
public suspend fun timePeriod(`value`: Output) {
this.timePeriod = value
}
/**
* @param value Rule name.
*/
@JvmName("uxxxydlvruccnytf")
public suspend fun ruleName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.ruleName = mapped
}
/**
* @param value Sentiment type to match.
*/
@JvmName("awsjbuxgkwqprhjf")
public suspend fun sentimentType(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.sentimentType = mapped
}
/**
* @param value Analysis interval.
*/
@JvmName("ldeoaytdofdykshk")
public suspend fun timePeriod(`value`: Int) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.timePeriod = mapped
}
internal fun build(): MediaInsightsPipelineConfigurationRealTimeAlertConfigurationRuleSentimentConfigurationArgs =
MediaInsightsPipelineConfigurationRealTimeAlertConfigurationRuleSentimentConfigurationArgs(
ruleName = ruleName ?: throw PulumiNullFieldException("ruleName"),
sentimentType = sentimentType ?: throw PulumiNullFieldException("sentimentType"),
timePeriod = timePeriod ?: throw PulumiNullFieldException("timePeriod"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy