All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.ec2.kotlin.outputs.NetworkInsightsAnalysisAnalysisLoadBalancerTarget.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 0.122.0.0
Show newest version
@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),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy