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

com.pulumi.cloudflare.kotlin.outputs.CustomHostnameSsl.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: 5.47.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.cloudflare.kotlin.outputs

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

/**
 *
 * @property bundleMethod A ubiquitous bundle has the highest probability of being verified everywhere, even by clients using outdated or unusual trust stores. An optimal bundle uses the shortest chain and newest intermediates. And the force bundle verifies the chain, but does not otherwise modify it. Available values: `ubiquitous`, `optimal`, `force`.
 * @property certificateAuthority
 * @property customCertificate If a custom uploaded certificate is used.
 * @property customKey The key for a custom uploaded certificate.
 * @property method Domain control validation (DCV) method used for this hostname. Available values: `http`, `txt`, `email`.
 * @property settings SSL/TLS settings for the certificate.
 * @property status
 * @property type Level of validation to be used for this hostname. Available values: `dv`. Defaults to `dv`.
 * @property validationErrors
 * @property validationRecords
 * @property wildcard Indicates whether the certificate covers a wildcard.
 */
public data class CustomHostnameSsl(
    public val bundleMethod: String? = null,
    public val certificateAuthority: String? = null,
    public val customCertificate: String? = null,
    public val customKey: String? = null,
    public val method: String? = null,
    public val settings: List? = null,
    public val status: String? = null,
    public val type: String? = null,
    public val validationErrors: List? = null,
    public val validationRecords: List? = null,
    public val wildcard: Boolean? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.cloudflare.outputs.CustomHostnameSsl): CustomHostnameSsl = CustomHostnameSsl(
            bundleMethod = javaType.bundleMethod().map({ args0 -> args0 }).orElse(null),
            certificateAuthority = javaType.certificateAuthority().map({ args0 -> args0 }).orElse(null),
            customCertificate = javaType.customCertificate().map({ args0 -> args0 }).orElse(null),
            customKey = javaType.customKey().map({ args0 -> args0 }).orElse(null),
            method = javaType.method().map({ args0 -> args0 }).orElse(null),
            settings = javaType.settings().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.cloudflare.kotlin.outputs.CustomHostnameSslSetting.Companion.toKotlin(args0)
                })
            }),
            status = javaType.status().map({ args0 -> args0 }).orElse(null),
            type = javaType.type().map({ args0 -> args0 }).orElse(null),
            validationErrors = javaType.validationErrors().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.cloudflare.kotlin.outputs.CustomHostnameSslValidationError.Companion.toKotlin(args0)
                })
            }),
            validationRecords = javaType.validationRecords().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.cloudflare.kotlin.outputs.CustomHostnameSslValidationRecord.Companion.toKotlin(args0)
                })
            }),
            wildcard = javaType.wildcard().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy