com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisError.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.quicksight.kotlin.outputs
import com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisErrorType
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* Analysis error.
* @property message The message associated with the analysis error.
* @property type The type of the analysis error.
* @property violatedEntities Lists the violated entities that caused the analysis error
*/
public data class AnalysisError(
public val message: String? = null,
public val type: AnalysisErrorType? = null,
public val violatedEntities: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.AnalysisError): AnalysisError = AnalysisError(
message = javaType.message().map({ args0 -> args0 }).orElse(null),
type = javaType.type().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisErrorType.Companion.toKotlin(args0)
})
}).orElse(null),
violatedEntities = javaType.violatedEntities().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisEntity.Companion.toKotlin(args0)
})
}),
)
}
}