com.pulumi.gcp.redis.kotlin.inputs.ClusterCrossClusterReplicationConfigMembershipPrimaryClusterArgs.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.redis.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.redis.inputs.ClusterCrossClusterReplicationConfigMembershipPrimaryClusterArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property cluster The full resource path of the primary cluster in the format: projects/{project}/locations/{region}/clusters/{cluster-id}
* @property uid (Output)
* The unique id of the primary cluster.
*/
public data class ClusterCrossClusterReplicationConfigMembershipPrimaryClusterArgs(
public val cluster: Output? = null,
public val uid: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.redis.inputs.ClusterCrossClusterReplicationConfigMembershipPrimaryClusterArgs =
com.pulumi.gcp.redis.inputs.ClusterCrossClusterReplicationConfigMembershipPrimaryClusterArgs.builder()
.cluster(cluster?.applyValue({ args0 -> args0 }))
.uid(uid?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ClusterCrossClusterReplicationConfigMembershipPrimaryClusterArgs].
*/
@PulumiTagMarker
public class ClusterCrossClusterReplicationConfigMembershipPrimaryClusterArgsBuilder internal constructor() {
private var cluster: Output? = null
private var uid: Output? = null
/**
* @param value The full resource path of the primary cluster in the format: projects/{project}/locations/{region}/clusters/{cluster-id}
*/
@JvmName("tvnhcmwiowjnrujr")
public suspend fun cluster(`value`: Output) {
this.cluster = value
}
/**
* @param value (Output)
* The unique id of the primary cluster.
*/
@JvmName("qxbcfnloafdgflyl")
public suspend fun uid(`value`: Output) {
this.uid = value
}
/**
* @param value The full resource path of the primary cluster in the format: projects/{project}/locations/{region}/clusters/{cluster-id}
*/
@JvmName("qrlnapjokkiqebga")
public suspend fun cluster(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.cluster = mapped
}
/**
* @param value (Output)
* The unique id of the primary cluster.
*/
@JvmName("vjyyxxndbovtrahi")
public suspend fun uid(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.uid = mapped
}
internal fun build(): ClusterCrossClusterReplicationConfigMembershipPrimaryClusterArgs =
ClusterCrossClusterReplicationConfigMembershipPrimaryClusterArgs(
cluster = cluster,
uid = uid,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy