com.pulumi.vault.transit.kotlin.outputs.GetEncryptResult.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.Int
import kotlin.String
import kotlin.Suppress
/**
* A collection of values returned by getEncrypt.
* @property backend
* @property ciphertext Encrypted ciphertext returned from Vault
* @property context
* @property id The provider-assigned unique ID for this managed resource.
* @property key
* @property keyVersion
* @property namespace
* @property plaintext
*/
public data class GetEncryptResult(
public val backend: String,
public val ciphertext: String,
public val context: String? = null,
public val id: String,
public val key: String,
public val keyVersion: Int? = null,
public val namespace: String? = null,
public val plaintext: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.vault.transit.outputs.GetEncryptResult): GetEncryptResult = GetEncryptResult(
backend = javaType.backend(),
ciphertext = javaType.ciphertext(),
context = javaType.context().map({ args0 -> args0 }).orElse(null),
id = javaType.id(),
key = javaType.key(),
keyVersion = javaType.keyVersion().map({ args0 -> args0 }).orElse(null),
namespace = javaType.namespace().map({ args0 -> args0 }).orElse(null),
plaintext = javaType.plaintext(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy