![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.migrate.kotlin.inputs.SecretStoreDetailsArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.migrate.kotlin.inputs
import com.pulumi.azurenative.migrate.inputs.SecretStoreDetailsArgs.builder
import com.pulumi.azurenative.migrate.kotlin.enums.SecretStoreType
import com.pulumi.core.Either
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property secretStore
* @property secretStoreProperties
*/
public data class SecretStoreDetailsArgs(
public val secretStore: Output>? = null,
public val secretStoreProperties: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.migrate.inputs.SecretStoreDetailsArgs =
com.pulumi.azurenative.migrate.inputs.SecretStoreDetailsArgs.builder()
.secretStore(
secretStore?.applyValue({ args0 ->
args0.transform({ args0 -> args0 }, { args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.secretStoreProperties(
secretStoreProperties?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [SecretStoreDetailsArgs].
*/
@PulumiTagMarker
public class SecretStoreDetailsArgsBuilder internal constructor() {
private var secretStore: Output>? = null
private var secretStoreProperties: Output? = null
/**
* @param value
*/
@JvmName("aqaxrshmydbjamvo")
public suspend fun secretStore(`value`: Output>) {
this.secretStore = value
}
/**
* @param value
*/
@JvmName("itcucqglohxsuaoi")
public suspend fun secretStoreProperties(`value`: Output) {
this.secretStoreProperties = value
}
/**
* @param value
*/
@JvmName("vxbeeqlyhlsitkgo")
public suspend fun secretStore(`value`: Either?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.secretStore = mapped
}
/**
* @param value
*/
@JvmName("oudupyrvylfkbwck")
public fun secretStore(`value`: String) {
val toBeMapped = Either.ofLeft(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.secretStore = mapped
}
/**
* @param value
*/
@JvmName("wqhhubojqgmjhamf")
public fun secretStore(`value`: SecretStoreType) {
val toBeMapped = Either.ofRight(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.secretStore = mapped
}
/**
* @param value
*/
@JvmName("ieajmeuaiujrogcm")
public suspend fun secretStoreProperties(`value`: SecretStorePropertiesArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.secretStoreProperties = mapped
}
/**
* @param argument
*/
@JvmName("luylhcmyvmvoumcw")
public suspend fun secretStoreProperties(argument: suspend SecretStorePropertiesArgsBuilder.() -> Unit) {
val toBeMapped = SecretStorePropertiesArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.secretStoreProperties = mapped
}
internal fun build(): SecretStoreDetailsArgs = SecretStoreDetailsArgs(
secretStore = secretStore,
secretStoreProperties = secretStoreProperties,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy