
com.pulumi.azurenative.machinelearningservices.kotlin.inputs.SslConfigurationArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.machinelearningservices.kotlin.inputs
import com.pulumi.azurenative.machinelearningservices.inputs.SslConfigurationArgs.builder
import com.pulumi.azurenative.machinelearningservices.kotlin.enums.SslConfigStatus
import com.pulumi.core.Either
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* The ssl configuration for scoring
* @property cert Cert data
* @property cname CNAME of the cert
* @property key Key data
* @property leafDomainLabel Leaf domain label of public endpoint
* @property overwriteExistingDomain Indicates whether to overwrite existing domain label.
* @property status Enable or disable ssl for scoring
*/
public data class SslConfigurationArgs(
public val cert: Output? = null,
public val cname: Output? = null,
public val key: Output? = null,
public val leafDomainLabel: Output? = null,
public val overwriteExistingDomain: Output? = null,
public val status: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.machinelearningservices.inputs.SslConfigurationArgs = com.pulumi.azurenative.machinelearningservices.inputs.SslConfigurationArgs.builder()
.cert(cert?.applyValue({ args0 -> args0 }))
.cname(cname?.applyValue({ args0 -> args0 }))
.key(key?.applyValue({ args0 -> args0 }))
.leafDomainLabel(leafDomainLabel?.applyValue({ args0 -> args0 }))
.overwriteExistingDomain(overwriteExistingDomain?.applyValue({ args0 -> args0 }))
.status(
status?.applyValue({ args0 ->
args0.transform({ args0 -> args0 }, { args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
).build()
}
/**
* Builder for [SslConfigurationArgs].
*/
@PulumiTagMarker
public class SslConfigurationArgsBuilder internal constructor() {
private var cert: Output? = null
private var cname: Output? = null
private var key: Output? = null
private var leafDomainLabel: Output? = null
private var overwriteExistingDomain: Output? = null
private var status: Output>? = null
/**
* @param value Cert data
*/
@JvmName("cnldqfxqaiglcwvw")
public suspend fun cert(`value`: Output) {
this.cert = value
}
/**
* @param value CNAME of the cert
*/
@JvmName("uotlxefsdsgndpfp")
public suspend fun cname(`value`: Output) {
this.cname = value
}
/**
* @param value Key data
*/
@JvmName("pphtrqqkjxxywpnc")
public suspend fun key(`value`: Output) {
this.key = value
}
/**
* @param value Leaf domain label of public endpoint
*/
@JvmName("vfsimeycjyproehp")
public suspend fun leafDomainLabel(`value`: Output) {
this.leafDomainLabel = value
}
/**
* @param value Indicates whether to overwrite existing domain label.
*/
@JvmName("mkqpvlcwxvfoxpvk")
public suspend fun overwriteExistingDomain(`value`: Output) {
this.overwriteExistingDomain = value
}
/**
* @param value Enable or disable ssl for scoring
*/
@JvmName("ijbqejuhhveowmxd")
public suspend fun status(`value`: Output>) {
this.status = value
}
/**
* @param value Cert data
*/
@JvmName("rtwanymoctcpfdcw")
public suspend fun cert(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.cert = mapped
}
/**
* @param value CNAME of the cert
*/
@JvmName("gsehjebbqifbwwck")
public suspend fun cname(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.cname = mapped
}
/**
* @param value Key data
*/
@JvmName("sheetbooscduuthj")
public suspend fun key(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.key = mapped
}
/**
* @param value Leaf domain label of public endpoint
*/
@JvmName("gwsjfiibmjefjfyk")
public suspend fun leafDomainLabel(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.leafDomainLabel = mapped
}
/**
* @param value Indicates whether to overwrite existing domain label.
*/
@JvmName("yewtkpekckrngbwg")
public suspend fun overwriteExistingDomain(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.overwriteExistingDomain = mapped
}
/**
* @param value Enable or disable ssl for scoring
*/
@JvmName("ejmjagboqaoanyrv")
public suspend fun status(`value`: Either?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.status = mapped
}
/**
* @param value Enable or disable ssl for scoring
*/
@JvmName("hxiowipyamlcnchu")
public fun status(`value`: String) {
val toBeMapped = Either.ofLeft(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.status = mapped
}
/**
* @param value Enable or disable ssl for scoring
*/
@JvmName("hjqourryrgomnfnb")
public fun status(`value`: SslConfigStatus) {
val toBeMapped = Either.ofRight(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.status = mapped
}
internal fun build(): SslConfigurationArgs = SslConfigurationArgs(
cert = cert,
cname = cname,
key = key,
leafDomainLabel = leafDomainLabel,
overwriteExistingDomain = overwriteExistingDomain,
status = status,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy