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

com.pulumi.gcp.certificateauthority.kotlin.outputs.CertificateCertificateDescriptionX509DescriptionAdditionalExtension.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: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.certificateauthority.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property critical Indicates whether or not this extension is critical (i.e., if the client does not know how to
 * handle this extension, the client should consider this to be an error).
 * @property objectIds Describes values that are relevant in a CA certificate.
 * Structure is documented below.
 * @property value The value of this X.509 extension. A base64-encoded string.
 */
public data class CertificateCertificateDescriptionX509DescriptionAdditionalExtension(
    public val critical: Boolean? = null,
    public val objectIds: List? = null,
    public val `value`: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.certificateauthority.outputs.CertificateCertificateDescriptionX509DescriptionAdditionalExtension): CertificateCertificateDescriptionX509DescriptionAdditionalExtension =
            CertificateCertificateDescriptionX509DescriptionAdditionalExtension(
                critical = javaType.critical().map({ args0 -> args0 }).orElse(null),
                objectIds = javaType.objectIds().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.gcp.certificateauthority.kotlin.outputs.CertificateCertificateDescriptionX509DescriptionAdditionalExtensionObjectId.Companion.toKotlin(args0)
                    })
                }),
                `value` = javaType.`value`().map({ args0 -> args0 }).orElse(null),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy