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

com.pulumi.vault.config.kotlin.inputs.UiCustomMessageLinkArgs.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.

There is a newer version: 6.4.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.vault.config.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.vault.config.inputs.UiCustomMessageLinkArgs.builder
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property href The URL of the hyperlink
 * @property title The title of the hyperlink
 */
public data class UiCustomMessageLinkArgs(
    public val href: Output,
    public val title: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.vault.config.inputs.UiCustomMessageLinkArgs =
        com.pulumi.vault.config.inputs.UiCustomMessageLinkArgs.builder()
            .href(href.applyValue({ args0 -> args0 }))
            .title(title.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [UiCustomMessageLinkArgs].
 */
@PulumiTagMarker
public class UiCustomMessageLinkArgsBuilder internal constructor() {
    private var href: Output? = null

    private var title: Output? = null

    /**
     * @param value The URL of the hyperlink
     */
    @JvmName("nchheiixfxgkmqot")
    public suspend fun href(`value`: Output) {
        this.href = value
    }

    /**
     * @param value The title of the hyperlink
     */
    @JvmName("ipjmxjktrfiyhnta")
    public suspend fun title(`value`: Output) {
        this.title = value
    }

    /**
     * @param value The URL of the hyperlink
     */
    @JvmName("urefemlfxdayefjs")
    public suspend fun href(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.href = mapped
    }

    /**
     * @param value The title of the hyperlink
     */
    @JvmName("xhsrxwmhxthlsgid")
    public suspend fun title(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.title = mapped
    }

    internal fun build(): UiCustomMessageLinkArgs = UiCustomMessageLinkArgs(
        href = href ?: throw PulumiNullFieldException("href"),
        title = title ?: throw PulumiNullFieldException("title"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy