com.pulumi.gcp.alloydb.kotlin.inputs.ClusterPscConfigArgs.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.alloydb.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.alloydb.inputs.ClusterPscConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property pscEnabled Create an instance that allows connections from Private Service Connect endpoints to the instance.
*/
public data class ClusterPscConfigArgs(
public val pscEnabled: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.alloydb.inputs.ClusterPscConfigArgs =
com.pulumi.gcp.alloydb.inputs.ClusterPscConfigArgs.builder()
.pscEnabled(pscEnabled?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ClusterPscConfigArgs].
*/
@PulumiTagMarker
public class ClusterPscConfigArgsBuilder internal constructor() {
private var pscEnabled: Output? = null
/**
* @param value Create an instance that allows connections from Private Service Connect endpoints to the instance.
*/
@JvmName("oqmqnpjfvefshpbu")
public suspend fun pscEnabled(`value`: Output) {
this.pscEnabled = value
}
/**
* @param value Create an instance that allows connections from Private Service Connect endpoints to the instance.
*/
@JvmName("spgqiaxifdkeejuj")
public suspend fun pscEnabled(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.pscEnabled = mapped
}
internal fun build(): ClusterPscConfigArgs = ClusterPscConfigArgs(
pscEnabled = pscEnabled,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy