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

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

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.ec2.kotlin.outputs

import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property createdDate The time stamp when the path was created.
 * @property destinationArn The Amazon Resource Name (ARN) of the destination.
 * @property networkInsightsPathArn The Amazon Resource Name (ARN) of the path.
 * @property networkInsightsPathId The ID of the path.
 * @property sourceArn The Amazon Resource Name (ARN) of the source.
 * @property tags The tags to add to the path.
 */
public data class GetNetworkInsightsPathResult(
    public val createdDate: String? = null,
    public val destinationArn: String? = null,
    public val networkInsightsPathArn: String? = null,
    public val networkInsightsPathId: String? = null,
    public val sourceArn: String? = null,
    public val tags: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.ec2.outputs.GetNetworkInsightsPathResult): GetNetworkInsightsPathResult = GetNetworkInsightsPathResult(
            createdDate = javaType.createdDate().map({ args0 -> args0 }).orElse(null),
            destinationArn = javaType.destinationArn().map({ args0 -> args0 }).orElse(null),
            networkInsightsPathArn = javaType.networkInsightsPathArn().map({ args0 -> args0 }).orElse(null),
            networkInsightsPathId = javaType.networkInsightsPathId().map({ args0 -> args0 }).orElse(null),
            sourceArn = javaType.sourceArn().map({ args0 -> args0 }).orElse(null),
            tags = javaType.tags().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy