com.pulumi.gcp.secretmanager.kotlin.inputs.SecretReplicationUserManagedArgs.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.SecretReplicationUserManagedArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property replicas The list of Replicas for this Secret. Cannot be empty.
* Structure is documented below.
*/
public data class SecretReplicationUserManagedArgs(
public val replicas: Output>,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.secretmanager.inputs.SecretReplicationUserManagedArgs =
com.pulumi.gcp.secretmanager.inputs.SecretReplicationUserManagedArgs.builder()
.replicas(
replicas.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [SecretReplicationUserManagedArgs].
*/
@PulumiTagMarker
public class SecretReplicationUserManagedArgsBuilder internal constructor() {
private var replicas: Output>? = null
/**
* @param value The list of Replicas for this Secret. Cannot be empty.
* Structure is documented below.
*/
@JvmName("cacouollndtdibap")
public suspend fun replicas(`value`: Output>) {
this.replicas = value
}
@JvmName("wogbqvloqovkkwub")
public suspend fun replicas(vararg values: Output) {
this.replicas = Output.all(values.asList())
}
/**
* @param values The list of Replicas for this Secret. Cannot be empty.
* Structure is documented below.
*/
@JvmName("stixymikunqkrsch")
public suspend fun replicas(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy