com.pulumi.alicloud.cdn.kotlin.inputs.DomainAuthConfigArgs.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.DomainAuthConfigArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property authType
* @property masterKey
* @property slaveKey
* @property timeout
*/
public data class DomainAuthConfigArgs(
public val authType: Output? = null,
public val masterKey: Output? = null,
public val slaveKey: Output? = null,
public val timeout: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.alicloud.cdn.inputs.DomainAuthConfigArgs =
com.pulumi.alicloud.cdn.inputs.DomainAuthConfigArgs.builder()
.authType(authType?.applyValue({ args0 -> args0 }))
.masterKey(masterKey?.applyValue({ args0 -> args0 }))
.slaveKey(slaveKey?.applyValue({ args0 -> args0 }))
.timeout(timeout?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DomainAuthConfigArgs].
*/
@PulumiTagMarker
public class DomainAuthConfigArgsBuilder internal constructor() {
private var authType: Output? = null
private var masterKey: Output? = null
private var slaveKey: Output? = null
private var timeout: Output? = null
/**
* @param value
*/
@JvmName("gxttfufkadfhaaxx")
public suspend fun authType(`value`: Output) {
this.authType = value
}
/**
* @param value
*/
@JvmName("mxnxxxohgciqqojh")
public suspend fun masterKey(`value`: Output) {
this.masterKey = value
}
/**
* @param value
*/
@JvmName("dgijiartfcgsyuom")
public suspend fun slaveKey(`value`: Output) {
this.slaveKey = value
}
/**
* @param value
*/
@JvmName("xxerocidbgdlteuw")
public suspend fun timeout(`value`: Output) {
this.timeout = value
}
/**
* @param value
*/
@JvmName("kleskfmsgycjiuxq")
public suspend fun authType(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.authType = mapped
}
/**
* @param value
*/
@JvmName("ddlqkyvothgbtund")
public suspend fun masterKey(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.masterKey = mapped
}
/**
* @param value
*/
@JvmName("akwaeewmungelneg")
public suspend fun slaveKey(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.slaveKey = mapped
}
/**
* @param value
*/
@JvmName("xcrjkkcjcdwykqmg")
public suspend fun timeout(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.timeout = mapped
}
internal fun build(): DomainAuthConfigArgs = DomainAuthConfigArgs(
authType = authType,
masterKey = masterKey,
slaveKey = slaveKey,
timeout = timeout,
)
}