com.pulumi.gcp.blockchainnodeengine.kotlin.outputs.BlockchainNodesConnectionInfo.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.blockchainnodeengine.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property endpointInfos (Output)
* The endpoint information through which to interact with a blockchain node.
* Structure is documented below.
* @property serviceAttachment (Output)
* A service attachment that exposes a node, and has the following format: projects/{project}/regions/{region}/serviceAttachments/{service_attachment_name}
*/
public data class BlockchainNodesConnectionInfo(
public val endpointInfos: List? = null,
public val serviceAttachment: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.blockchainnodeengine.outputs.BlockchainNodesConnectionInfo): BlockchainNodesConnectionInfo = BlockchainNodesConnectionInfo(
endpointInfos = javaType.endpointInfos().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.blockchainnodeengine.kotlin.outputs.BlockchainNodesConnectionInfoEndpointInfo.Companion.toKotlin(args0)
})
}),
serviceAttachment = javaType.serviceAttachment().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy