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

com.pulumi.awsnative.elasticache.kotlin.outputs.ServerlessCacheEndpoint.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.elasticache.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 * The address and the port.
 * @property address Endpoint address.
 * @property port Endpoint port.
 */
public data class ServerlessCacheEndpoint(
    public val address: String? = null,
    public val port: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.elasticache.outputs.ServerlessCacheEndpoint): ServerlessCacheEndpoint = ServerlessCacheEndpoint(
            address = javaType.address().map({ args0 -> args0 }).orElse(null),
            port = javaType.port().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy