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

com.pulumi.cloudflare.kotlin.inputs.TeamsAccountBlockPageArgs.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.

The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.cloudflare.kotlin.inputs

import com.pulumi.cloudflare.inputs.TeamsAccountBlockPageArgs.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 TeamsAccountBlockPageArgs(
    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.TeamsAccountBlockPageArgs =
        com.pulumi.cloudflare.inputs.TeamsAccountBlockPageArgs.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 [TeamsAccountBlockPageArgs].
 */
@PulumiTagMarker
public class TeamsAccountBlockPageArgsBuilder 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("gqlttonrldhgkaft")
    public suspend fun backgroundColor(`value`: Output) {
        this.backgroundColor = value
    }

    /**
     * @param value Indicator of enablement.
     */
    @JvmName("vknxfjgjbwdvkqdm")
    public suspend fun enabled(`value`: Output) {
        this.enabled = value
    }

    /**
     * @param value Block page footer text.
     */
    @JvmName("msmosdwibdikdsge")
    public suspend fun footerText(`value`: Output) {
        this.footerText = value
    }

    /**
     * @param value Block page header text.
     */
    @JvmName("hoinoqdxavoaasbb")
    public suspend fun headerText(`value`: Output) {
        this.headerText = value
    }

    /**
     * @param value URL of block page logo.
     */
    @JvmName("kktrxxjkfdvphujl")
    public suspend fun logoPath(`value`: Output) {
        this.logoPath = value
    }

    /**
     * @param value Admin email for users to contact.
     */
    @JvmName("rfngqfcqhuwsjifg")
    public suspend fun mailtoAddress(`value`: Output) {
        this.mailtoAddress = value
    }

    /**
     * @param value Subject line for emails created from block page.
     */
    @JvmName("yuopiuagmmbmkymw")
    public suspend fun mailtoSubject(`value`: Output) {
        this.mailtoSubject = value
    }

    /**
     * @param value Name of block page configuration.
     */
    @JvmName("kgqjyiqwmfwxkuaf")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value Hex code of block page background color.
     */
    @JvmName("ilkurshtkxnmvyqn")
    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("odplgciuihxjmnke")
    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("drufremduxyhebct")
    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("nfaaxjnculytyvgy")
    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("yguukxvtdnrlcvpf")
    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("hvhdrnacwamebnqw")
    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("nwgjfxspplhuslld")
    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("lcvbepmvutmliyil")
    public suspend fun name(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.name = mapped
    }

    internal fun build(): TeamsAccountBlockPageArgs = TeamsAccountBlockPageArgs(
        backgroundColor = backgroundColor,
        enabled = enabled,
        footerText = footerText,
        headerText = headerText,
        logoPath = logoPath,
        mailtoAddress = mailtoAddress,
        mailtoSubject = mailtoSubject,
        name = name,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy