com.pulumi.cloudflare.kotlin.inputs.ZeroTrustGatewaySettingsBlockPageArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-cloudflare-kotlin Show documentation
Show all versions of pulumi-cloudflare-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.cloudflare.kotlin.inputs
import com.pulumi.cloudflare.inputs.ZeroTrustGatewaySettingsBlockPageArgs.builder
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
/**
*
* @property backgroundColor Hex code of block page background color.
* @property enabled Indicator of enablement.
* @property footerText Block page footer text.
* @property headerText Block page header text.
* @property logoPath URL of block page logo.
* @property mailtoAddress Admin email for users to contact.
* @property mailtoSubject Subject line for emails created from block page.
* @property name Name of block page configuration.
*/
public data class ZeroTrustGatewaySettingsBlockPageArgs(
public val backgroundColor: Output? = null,
public val enabled: Output? = null,
public val footerText: Output? = null,
public val headerText: Output? = null,
public val logoPath: Output? = null,
public val mailtoAddress: Output? = null,
public val mailtoSubject: Output? = null,
public val name: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.cloudflare.inputs.ZeroTrustGatewaySettingsBlockPageArgs =
com.pulumi.cloudflare.inputs.ZeroTrustGatewaySettingsBlockPageArgs.builder()
.backgroundColor(backgroundColor?.applyValue({ args0 -> args0 }))
.enabled(enabled?.applyValue({ args0 -> args0 }))
.footerText(footerText?.applyValue({ args0 -> args0 }))
.headerText(headerText?.applyValue({ args0 -> args0 }))
.logoPath(logoPath?.applyValue({ args0 -> args0 }))
.mailtoAddress(mailtoAddress?.applyValue({ args0 -> args0 }))
.mailtoSubject(mailtoSubject?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ZeroTrustGatewaySettingsBlockPageArgs].
*/
@PulumiTagMarker
public class ZeroTrustGatewaySettingsBlockPageArgsBuilder internal constructor() {
private var backgroundColor: Output? = null
private var enabled: Output? = null
private var footerText: Output? = null
private var headerText: Output? = null
private var logoPath: Output? = null
private var mailtoAddress: Output? = null
private var mailtoSubject: Output? = null
private var name: Output? = null
/**
* @param value Hex code of block page background color.
*/
@JvmName("bthuxuxoofelumcf")
public suspend fun backgroundColor(`value`: Output) {
this.backgroundColor = value
}
/**
* @param value Indicator of enablement.
*/
@JvmName("kahcaqumsyvuvrlg")
public suspend fun enabled(`value`: Output) {
this.enabled = value
}
/**
* @param value Block page footer text.
*/
@JvmName("jrpgpljpgsymgfjj")
public suspend fun footerText(`value`: Output) {
this.footerText = value
}
/**
* @param value Block page header text.
*/
@JvmName("absbbbshdbocpfei")
public suspend fun headerText(`value`: Output) {
this.headerText = value
}
/**
* @param value URL of block page logo.
*/
@JvmName("lxiyciwyrfhrqwaq")
public suspend fun logoPath(`value`: Output) {
this.logoPath = value
}
/**
* @param value Admin email for users to contact.
*/
@JvmName("uhhkqbqwjpgvtvrl")
public suspend fun mailtoAddress(`value`: Output) {
this.mailtoAddress = value
}
/**
* @param value Subject line for emails created from block page.
*/
@JvmName("wvropflsolvdtxdr")
public suspend fun mailtoSubject(`value`: Output) {
this.mailtoSubject = value
}
/**
* @param value Name of block page configuration.
*/
@JvmName("sblqplhsphbfktry")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value Hex code of block page background color.
*/
@JvmName("umlwonjcuppogdlx")
public suspend fun backgroundColor(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.backgroundColor = mapped
}
/**
* @param value Indicator of enablement.
*/
@JvmName("qtuvremqrbdwlbpc")
public suspend fun enabled(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.enabled = mapped
}
/**
* @param value Block page footer text.
*/
@JvmName("ruxlokimcacoktvq")
public suspend fun footerText(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.footerText = mapped
}
/**
* @param value Block page header text.
*/
@JvmName("ioboajjnvvvwentp")
public suspend fun headerText(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.headerText = mapped
}
/**
* @param value URL of block page logo.
*/
@JvmName("ucyjfbvbutxjaslv")
public suspend fun logoPath(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.logoPath = mapped
}
/**
* @param value Admin email for users to contact.
*/
@JvmName("svxorucmpstspjqq")
public suspend fun mailtoAddress(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.mailtoAddress = mapped
}
/**
* @param value Subject line for emails created from block page.
*/
@JvmName("hxjnpgojosgtjhrv")
public suspend fun mailtoSubject(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.mailtoSubject = mapped
}
/**
* @param value Name of block page configuration.
*/
@JvmName("srpkyykgjrlqluve")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.name = mapped
}
internal fun build(): ZeroTrustGatewaySettingsBlockPageArgs =
ZeroTrustGatewaySettingsBlockPageArgs(
backgroundColor = backgroundColor,
enabled = enabled,
footerText = footerText,
headerText = headerText,
logoPath = logoPath,
mailtoAddress = mailtoAddress,
mailtoSubject = mailtoSubject,
name = name,
)
}