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

com.pulumi.gcp.sql.kotlin.outputs.DatabaseInstanceServerCaCert.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.sql.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property cert The CA Certificate used to connect to the SQL Instance via SSL.
 * @property commonName The CN valid for the CA Cert.
 * @property createTime Creation time of the CA Cert.
 * @property expirationTime Expiration time of the CA Cert.
 * @property sha1Fingerprint SHA Fingerprint of the CA Cert.
 */
public data class DatabaseInstanceServerCaCert(
    public val cert: String? = null,
    public val commonName: String? = null,
    public val createTime: String? = null,
    public val expirationTime: String? = null,
    public val sha1Fingerprint: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.sql.outputs.DatabaseInstanceServerCaCert): DatabaseInstanceServerCaCert = DatabaseInstanceServerCaCert(
            cert = javaType.cert().map({ args0 -> args0 }).orElse(null),
            commonName = javaType.commonName().map({ args0 -> args0 }).orElse(null),
            createTime = javaType.createTime().map({ args0 -> args0 }).orElse(null),
            expirationTime = javaType.expirationTime().map({ args0 -> args0 }).orElse(null),
            sha1Fingerprint = javaType.sha1Fingerprint().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy