![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.gcp.secretmanager.kotlin.inputs.SecretReplicationAutoArgs.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.secretmanager.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.secretmanager.inputs.SecretReplicationAutoArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property customerManagedEncryption The customer-managed encryption configuration of the Secret.
* If no configuration is provided, Google-managed default
* encryption is used.
* Structure is documented below.
*/
public data class SecretReplicationAutoArgs(
public val customerManagedEncryption: Output? =
null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.secretmanager.inputs.SecretReplicationAutoArgs =
com.pulumi.gcp.secretmanager.inputs.SecretReplicationAutoArgs.builder()
.customerManagedEncryption(
customerManagedEncryption?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [SecretReplicationAutoArgs].
*/
@PulumiTagMarker
public class SecretReplicationAutoArgsBuilder internal constructor() {
private var customerManagedEncryption: Output? =
null
/**
* @param value The customer-managed encryption configuration of the Secret.
* If no configuration is provided, Google-managed default
* encryption is used.
* Structure is documented below.
*/
@JvmName("mgfxnkbvfjlequlp")
public suspend fun customerManagedEncryption(`value`: Output) {
this.customerManagedEncryption = value
}
/**
* @param value The customer-managed encryption configuration of the Secret.
* If no configuration is provided, Google-managed default
* encryption is used.
* Structure is documented below.
*/
@JvmName("dosdjppdasqyhcye")
public suspend fun customerManagedEncryption(`value`: SecretReplicationAutoCustomerManagedEncryptionArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.customerManagedEncryption = mapped
}
/**
* @param argument The customer-managed encryption configuration of the Secret.
* If no configuration is provided, Google-managed default
* encryption is used.
* Structure is documented below.
*/
@JvmName("xxncsiyufmnytspi")
public suspend fun customerManagedEncryption(argument: suspend SecretReplicationAutoCustomerManagedEncryptionArgsBuilder.() -> Unit) {
val toBeMapped = SecretReplicationAutoCustomerManagedEncryptionArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.customerManagedEncryption = mapped
}
internal fun build(): SecretReplicationAutoArgs = SecretReplicationAutoArgs(
customerManagedEncryption = customerManagedEncryption,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy