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

com.pulumi.googlenative.memcache.v1.kotlin.outputs.NodeResponse.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.

The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.googlenative.memcache.v1.kotlin.outputs

import kotlin.Int
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property host Hostname or IP address of the Memcached node used by the clients to connect to the Memcached server on this node.
 * @property nodeId Identifier of the Memcached node. The node id does not include project or location like the Memcached instance name.
 * @property parameters User defined parameters currently applied to the node.
 * @property port The port number of the Memcached server on this node.
 * @property state Current state of the Memcached node.
 * @property zone Location (GCP Zone) for the Memcached node.
 */
public data class NodeResponse(
    public val host: String,
    public val nodeId: String,
    public val parameters: MemcacheParametersResponse,
    public val port: Int,
    public val state: String,
    public val zone: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.googlenative.memcache.v1.outputs.NodeResponse): NodeResponse = NodeResponse(
            host = javaType.host(),
            nodeId = javaType.nodeId(),
            parameters = javaType.parameters().let({ args0 ->
                com.pulumi.googlenative.memcache.v1.kotlin.outputs.MemcacheParametersResponse.Companion.toKotlin(args0)
            }),
            port = javaType.port(),
            state = javaType.state(),
            zone = javaType.zone(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy