All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.databoxedge.kotlin.outputs.AsymmetricEncryptedSecretResponse.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.databoxedge.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 * Represent the secrets intended for encryption with asymmetric key pair.
 * @property encryptionAlgorithm The algorithm used to encrypt "Value".
 * @property encryptionCertThumbprint Thumbprint certificate used to encrypt \"Value\". If the value is unencrypted, it will be null.
 * @property value The value of the secret.
 */
public data class AsymmetricEncryptedSecretResponse(
    public val encryptionAlgorithm: String,
    public val encryptionCertThumbprint: String? = null,
    public val `value`: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.databoxedge.outputs.AsymmetricEncryptedSecretResponse): AsymmetricEncryptedSecretResponse = AsymmetricEncryptedSecretResponse(
            encryptionAlgorithm = javaType.encryptionAlgorithm(),
            encryptionCertThumbprint = javaType.encryptionCertThumbprint().map({ args0 -> args0 }).orElse(null),
            `value` = javaType.`value`(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy