![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.iotevents.kotlin.outputs.GetDetectorModelResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.iotevents.kotlin.outputs
import com.pulumi.awsnative.iotevents.kotlin.enums.DetectorModelEvaluationMethod
import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property detectorModelDefinition Information that defines how a detector operates.
* @property detectorModelDescription A brief description of the detector model.
* @property evaluationMethod Information about the order in which events are evaluated and how actions are executed.
* @property roleArn The ARN of the role that grants permission to ITE to perform its operations.
* @property tags An array of key-value pairs to apply to this resource.
* For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html).
*/
public data class GetDetectorModelResult(
public val detectorModelDefinition: DetectorModelDefinition? = null,
public val detectorModelDescription: String? = null,
public val evaluationMethod: DetectorModelEvaluationMethod? = null,
public val roleArn: String? = null,
public val tags: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.iotevents.outputs.GetDetectorModelResult): GetDetectorModelResult = GetDetectorModelResult(
detectorModelDefinition = javaType.detectorModelDefinition().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.iotevents.kotlin.outputs.DetectorModelDefinition.Companion.toKotlin(args0)
})
}).orElse(null),
detectorModelDescription = javaType.detectorModelDescription().map({ args0 -> args0 }).orElse(null),
evaluationMethod = javaType.evaluationMethod().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.iotevents.kotlin.enums.DetectorModelEvaluationMethod.Companion.toKotlin(args0)
})
}).orElse(null),
roleArn = javaType.roleArn().map({ args0 -> args0 }).orElse(null),
tags = javaType.tags().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy