com.pulumi.vault.transit.kotlin.outputs.GetDecryptResult.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-vault-kotlin Show documentation
Show all versions of pulumi-vault-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.vault.transit.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* A collection of values returned by getDecrypt.
* @property backend
* @property ciphertext
* @property context
* @property id The provider-assigned unique ID for this managed resource.
* @property key
* @property namespace
* @property plaintext Decrypted plaintext returned from Vault
*/
public data class GetDecryptResult(
public val backend: String,
public val ciphertext: String,
public val context: String? = null,
public val id: String,
public val key: String,
public val namespace: String? = null,
public val plaintext: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.vault.transit.outputs.GetDecryptResult): GetDecryptResult = GetDecryptResult(
backend = javaType.backend(),
ciphertext = javaType.ciphertext(),
context = javaType.context().map({ args0 -> args0 }).orElse(null),
id = javaType.id(),
key = javaType.key(),
namespace = javaType.namespace().map({ args0 -> args0 }).orElse(null),
plaintext = javaType.plaintext(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy