com.pulumi.awsnative.ec2.kotlin.outputs.NetworkInsightsAnalysisAnalysisLoadBalancerTarget.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.ec2.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property address The IP address.
* @property availabilityZone The Availability Zone.
* @property instance Information about the instance.
* @property port The port on which the target is listening.
*/
public data class NetworkInsightsAnalysisAnalysisLoadBalancerTarget(
public val address: String? = null,
public val availabilityZone: String? = null,
public val instance: NetworkInsightsAnalysisAnalysisComponent? = null,
public val port: Int? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.ec2.outputs.NetworkInsightsAnalysisAnalysisLoadBalancerTarget): NetworkInsightsAnalysisAnalysisLoadBalancerTarget =
NetworkInsightsAnalysisAnalysisLoadBalancerTarget(
address = javaType.address().map({ args0 -> args0 }).orElse(null),
availabilityZone = javaType.availabilityZone().map({ args0 -> args0 }).orElse(null),
instance = javaType.instance().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.ec2.kotlin.outputs.NetworkInsightsAnalysisAnalysisComponent.Companion.toKotlin(args0)
})
}).orElse(null),
port = javaType.port().map({ args0 -> args0 }).orElse(null),
)
}
}