
com.pulumi.awsnative.memorydb.kotlin.inputs.ClusterEndpointArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.awsnative.memorydb.kotlin.inputs
import com.pulumi.awsnative.memorydb.inputs.ClusterEndpointArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property address The DNS address of the primary read-write node.
* @property port The port number that the engine is listening on.
*/
public data class ClusterEndpointArgs(
public val address: Output? = null,
public val port: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.memorydb.inputs.ClusterEndpointArgs =
com.pulumi.awsnative.memorydb.inputs.ClusterEndpointArgs.builder()
.address(address?.applyValue({ args0 -> args0 }))
.port(port?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ClusterEndpointArgs].
*/
@PulumiTagMarker
public class ClusterEndpointArgsBuilder internal constructor() {
private var address: Output? = null
private var port: Output? = null
/**
* @param value The DNS address of the primary read-write node.
*/
@JvmName("ypihwugwbeydwunk")
public suspend fun address(`value`: Output) {
this.address = value
}
/**
* @param value The port number that the engine is listening on.
*/
@JvmName("whaquhdvdftqqwth")
public suspend fun port(`value`: Output) {
this.port = value
}
/**
* @param value The DNS address of the primary read-write node.
*/
@JvmName("mcjhrvyfkussngkm")
public suspend fun address(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.address = mapped
}
/**
* @param value The port number that the engine is listening on.
*/
@JvmName("vulahgdkojugakvt")
public suspend fun port(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.port = mapped
}
internal fun build(): ClusterEndpointArgs = ClusterEndpointArgs(
address = address,
port = port,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy