com.pulumi.awsnative.guardduty.kotlin.outputs.MalwareProtectionPlanCfnStatusReasons.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.guardduty.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property code The status code of the Malware Protection plan.
* @property message Issue message that specifies the reason.
*/
public data class MalwareProtectionPlanCfnStatusReasons(
public val code: String? = null,
public val message: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.guardduty.outputs.MalwareProtectionPlanCfnStatusReasons): MalwareProtectionPlanCfnStatusReasons = MalwareProtectionPlanCfnStatusReasons(
code = javaType.code().map({ args0 -> args0 }).orElse(null),
message = javaType.message().map({ args0 -> args0 }).orElse(null),
)
}
}