All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.chimesdkmediapipelines.kotlin.outputs.MediaInsightsPipelineConfigurationRealTimeAlertConfigurationRule.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.chimesdkmediapipelines.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property issueDetectionConfiguration Configuration for an issue detection rule.
 * @property keywordMatchConfiguration Configuration for a keyword match rule.
 * @property sentimentConfiguration Configuration for a sentiment rule.
 * @property type Rule type.
 */
public data class MediaInsightsPipelineConfigurationRealTimeAlertConfigurationRule(
    public val issueDetectionConfiguration: MediaInsightsPipelineConfigurationRealTimeAlertConfigurationRuleIssueDetectionConfiguration? =
        null,
    public val keywordMatchConfiguration: MediaInsightsPipelineConfigurationRealTimeAlertConfigurationRuleKeywordMatchConfiguration? =
        null,
    public val sentimentConfiguration: MediaInsightsPipelineConfigurationRealTimeAlertConfigurationRuleSentimentConfiguration? =
        null,
    public val type: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.aws.chimesdkmediapipelines.outputs.MediaInsightsPipelineConfigurationRealTimeAlertConfigurationRule): MediaInsightsPipelineConfigurationRealTimeAlertConfigurationRule =
            MediaInsightsPipelineConfigurationRealTimeAlertConfigurationRule(
                issueDetectionConfiguration = javaType.issueDetectionConfiguration().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.aws.chimesdkmediapipelines.kotlin.outputs.MediaInsightsPipelineConfigurationRealTimeAlertConfigurationRuleIssueDetectionConfiguration.Companion.toKotlin(args0)
                    })
                }).orElse(null),
                keywordMatchConfiguration = javaType.keywordMatchConfiguration().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.aws.chimesdkmediapipelines.kotlin.outputs.MediaInsightsPipelineConfigurationRealTimeAlertConfigurationRuleKeywordMatchConfiguration.Companion.toKotlin(args0)
                    })
                }).orElse(null),
                sentimentConfiguration = javaType.sentimentConfiguration().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.aws.chimesdkmediapipelines.kotlin.outputs.MediaInsightsPipelineConfigurationRealTimeAlertConfigurationRuleSentimentConfiguration.Companion.toKotlin(args0)
                    })
                }).orElse(null),
                type = javaType.type(),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy