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

com.pulumi.gcp.redis.kotlin.outputs.InstanceServerCaCert.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.redis.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property cert (Output)
 * The certificate data in PEM format.
 * @property createTime (Output)
 * The time when the certificate was created.
 * @property expireTime (Output)
 * The time when the certificate expires.
 * @property serialNumber (Output)
 * Serial number, as extracted from the certificate.
 * @property sha1Fingerprint (Output)
 * Sha1 Fingerprint of the certificate.
 */
public data class InstanceServerCaCert(
    public val cert: String? = null,
    public val createTime: String? = null,
    public val expireTime: String? = null,
    public val serialNumber: String? = null,
    public val sha1Fingerprint: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.redis.outputs.InstanceServerCaCert): InstanceServerCaCert = InstanceServerCaCert(
            cert = javaType.cert().map({ args0 -> args0 }).orElse(null),
            createTime = javaType.createTime().map({ args0 -> args0 }).orElse(null),
            expireTime = javaType.expireTime().map({ args0 -> args0 }).orElse(null),
            serialNumber = javaType.serialNumber().map({ args0 -> args0 }).orElse(null),
            sha1Fingerprint = javaType.sha1Fingerprint().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy