
com.pulumi.awsnative.quicksight.kotlin.outputs.VpcConnectionNetworkInterface.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.quicksight.kotlin.outputs
import com.pulumi.awsnative.quicksight.kotlin.enums.VpcConnectionNetworkInterfaceStatus
import kotlin.String
import kotlin.Suppress
/**
* The structure that contains information about a network interface.
* @property availabilityZone The availability zone that the network interface resides in.
* @property errorMessage An error message.
* @property networkInterfaceId The network interface ID.
* @property status The status of the network interface.
* @property subnetId The subnet ID associated with the network interface.
*/
public data class VpcConnectionNetworkInterface(
public val availabilityZone: String? = null,
public val errorMessage: String? = null,
public val networkInterfaceId: String? = null,
public val status: VpcConnectionNetworkInterfaceStatus? = null,
public val subnetId: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.VpcConnectionNetworkInterface): VpcConnectionNetworkInterface = VpcConnectionNetworkInterface(
availabilityZone = javaType.availabilityZone().map({ args0 -> args0 }).orElse(null),
errorMessage = javaType.errorMessage().map({ args0 -> args0 }).orElse(null),
networkInterfaceId = javaType.networkInterfaceId().map({ args0 -> args0 }).orElse(null),
status = javaType.status().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.enums.VpcConnectionNetworkInterfaceStatus.Companion.toKotlin(args0)
})
}).orElse(null),
subnetId = javaType.subnetId().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy