
com.pulumi.awsnative.ec2.kotlin.outputs.NetworkInsightsAnalysisAnalysisPacketHeader.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.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property destinationAddresses The destination addresses.
* @property destinationPortRanges The destination port ranges.
* @property protocol The protocol.
* @property sourceAddresses The source addresses.
* @property sourcePortRanges The source port ranges.
*/
public data class NetworkInsightsAnalysisAnalysisPacketHeader(
public val destinationAddresses: List? = null,
public val destinationPortRanges: List? = null,
public val protocol: String? = null,
public val sourceAddresses: List? = null,
public val sourcePortRanges: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.ec2.outputs.NetworkInsightsAnalysisAnalysisPacketHeader): NetworkInsightsAnalysisAnalysisPacketHeader = NetworkInsightsAnalysisAnalysisPacketHeader(
destinationAddresses = javaType.destinationAddresses().map({ args0 -> args0 }),
destinationPortRanges = javaType.destinationPortRanges().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.ec2.kotlin.outputs.NetworkInsightsAnalysisPortRange.Companion.toKotlin(args0)
})
}),
protocol = javaType.protocol().map({ args0 -> args0 }).orElse(null),
sourceAddresses = javaType.sourceAddresses().map({ args0 -> args0 }),
sourcePortRanges = javaType.sourcePortRanges().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.ec2.kotlin.outputs.NetworkInsightsAnalysisPortRange.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy