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

com.pulumi.gcp.redis.kotlin.inputs.ClusterCrossClusterReplicationConfigPrimaryClusterArgs.kt Maven / Gradle / Ivy

@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.ClusterCrossClusterReplicationConfigPrimaryClusterArgs.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 ClusterCrossClusterReplicationConfigPrimaryClusterArgs(
    public val cluster: Output? = null,
    public val uid: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.redis.inputs.ClusterCrossClusterReplicationConfigPrimaryClusterArgs =
        com.pulumi.gcp.redis.inputs.ClusterCrossClusterReplicationConfigPrimaryClusterArgs.builder()
            .cluster(cluster?.applyValue({ args0 -> args0 }))
            .uid(uid?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ClusterCrossClusterReplicationConfigPrimaryClusterArgs].
 */
@PulumiTagMarker
public class ClusterCrossClusterReplicationConfigPrimaryClusterArgsBuilder 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("shoyupxdrqtdhegf")
    public suspend fun cluster(`value`: Output) {
        this.cluster = value
    }

    /**
     * @param value (Output)
     * The unique id of the primary cluster.
     */
    @JvmName("vtviyvifrxbwhppc")
    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("gvdcxamlacxdpudw")
    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("qqiflybxwsugngba")
    public suspend fun uid(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.uid = mapped
    }

    internal fun build(): ClusterCrossClusterReplicationConfigPrimaryClusterArgs =
        ClusterCrossClusterReplicationConfigPrimaryClusterArgs(
            cluster = cluster,
            uid = uid,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy