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

com.pulumi.vault.transform.kotlin.outputs.GetEncodeResult.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.4.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.vault.transform.kotlin.outputs

import kotlin.Any
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map

/**
 * A collection of values returned by getEncode.
 * @property batchInputs
 * @property batchResults
 * @property encodedValue
 * @property id The provider-assigned unique ID for this managed resource.
 * @property namespace
 * @property path
 * @property roleName
 * @property transformation
 * @property tweak
 * @property value
 */
public data class GetEncodeResult(
    public val batchInputs: List>? = null,
    public val batchResults: List>,
    public val encodedValue: String,
    public val id: String,
    public val namespace: String? = null,
    public val path: String,
    public val roleName: String,
    public val transformation: String? = null,
    public val tweak: String? = null,
    public val `value`: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.vault.transform.outputs.GetEncodeResult): GetEncodeResult = GetEncodeResult(
            batchInputs = javaType.batchInputs().map({ args0 ->
                args0.map({ args0 ->
                    args0.key.to(args0.value)
                }).toMap()
            }),
            batchResults = javaType.batchResults().map({ args0 ->
                args0.map({ args0 ->
                    args0.key.to(args0.value)
                }).toMap()
            }),
            encodedValue = javaType.encodedValue(),
            id = javaType.id(),
            namespace = javaType.namespace().map({ args0 -> args0 }).orElse(null),
            path = javaType.path(),
            roleName = javaType.roleName(),
            transformation = javaType.transformation().map({ args0 -> args0 }).orElse(null),
            tweak = javaType.tweak().map({ args0 -> args0 }).orElse(null),
            `value` = javaType.`value`().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy