com.pulumi.awsnative.s3outposts.kotlin.outputs.EndpointFailedReason.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.s3outposts.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property errorCode The failure code, if any, for a create or delete endpoint operation.
* @property message Additional error details describing the endpoint failure and recommended action.
*/
public data class EndpointFailedReason(
public val errorCode: String? = null,
public val message: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.s3outposts.outputs.EndpointFailedReason): EndpointFailedReason = EndpointFailedReason(
errorCode = javaType.errorCode().map({ args0 -> args0 }).orElse(null),
message = javaType.message().map({ args0 -> args0 }).orElse(null),
)
}
}