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

com.pulumi.gcp.memcache.kotlin.outputs.InstanceMemcacheNode.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: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.memcache.kotlin.outputs

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

/**
 *
 * @property host (Output)
 * Hostname or IP address of the Memcached node used by the clients to connect to the Memcached server on this node.
 * @property nodeId (Output)
 * Identifier of the Memcached node. The node id does not include project or location like the Memcached instance name.
 * @property port (Output)
 * The port number of the Memcached server on this node.
 * @property state (Output)
 * Current state of the Memcached node.
 * @property zone (Output)
 * Location (GCP Zone) for the Memcached node.
 */
public data class InstanceMemcacheNode(
    public val host: String? = null,
    public val nodeId: String? = null,
    public val port: Int? = null,
    public val state: String? = null,
    public val zone: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.memcache.outputs.InstanceMemcacheNode): InstanceMemcacheNode = InstanceMemcacheNode(
            host = javaType.host().map({ args0 -> args0 }).orElse(null),
            nodeId = javaType.nodeId().map({ args0 -> args0 }).orElse(null),
            port = javaType.port().map({ args0 -> args0 }).orElse(null),
            state = javaType.state().map({ args0 -> args0 }).orElse(null),
            zone = javaType.zone().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy