com.pulumi.alicloud.cdn.kotlin.inputs.DomainCertificateConfigArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-alicloud-kotlin Show documentation
Show all versions of pulumi-alicloud-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.alicloud.cdn.kotlin.inputs
import com.pulumi.alicloud.cdn.inputs.DomainCertificateConfigArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property privateKey
* @property serverCertificate
* @property serverCertificateStatus
*/
public data class DomainCertificateConfigArgs(
public val privateKey: Output? = null,
public val serverCertificate: Output? = null,
public val serverCertificateStatus: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.alicloud.cdn.inputs.DomainCertificateConfigArgs =
com.pulumi.alicloud.cdn.inputs.DomainCertificateConfigArgs.builder()
.privateKey(privateKey?.applyValue({ args0 -> args0 }))
.serverCertificate(serverCertificate?.applyValue({ args0 -> args0 }))
.serverCertificateStatus(serverCertificateStatus?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DomainCertificateConfigArgs].
*/
@PulumiTagMarker
public class DomainCertificateConfigArgsBuilder internal constructor() {
private var privateKey: Output? = null
private var serverCertificate: Output? = null
private var serverCertificateStatus: Output? = null
/**
* @param value
*/
@JvmName("hadxsvejwhtwgxbs")
public suspend fun privateKey(`value`: Output) {
this.privateKey = value
}
/**
* @param value
*/
@JvmName("kxqfcbobmfdanijp")
public suspend fun serverCertificate(`value`: Output) {
this.serverCertificate = value
}
/**
* @param value
*/
@JvmName("onnopoglokcqhvkn")
public suspend fun serverCertificateStatus(`value`: Output) {
this.serverCertificateStatus = value
}
/**
* @param value
*/
@JvmName("hrtgbvanppjpvvjj")
public suspend fun privateKey(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.privateKey = mapped
}
/**
* @param value
*/
@JvmName("mopcqrkpbnerwaqh")
public suspend fun serverCertificate(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.serverCertificate = mapped
}
/**
* @param value
*/
@JvmName("huvcptamftiqbjlk")
public suspend fun serverCertificateStatus(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.serverCertificateStatus = mapped
}
internal fun build(): DomainCertificateConfigArgs = DomainCertificateConfigArgs(
privateKey = privateKey,
serverCertificate = serverCertificate,
serverCertificateStatus = serverCertificateStatus,
)
}