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

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

import com.pulumi.cloudflare.Web3HostnameArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * Manages Web3 hostnames for IPFS and Ethereum gateways.
 * @property description An optional description of the hostname.
 * @property dnslink DNSLink value used if the target is ipfs.
 * @property name The hostname that will point to the target gateway via CNAME.
 * @property target Target gateway of the hostname.
 * @property zoneId The zone identifier to target for the resource.
 */
public data class Web3HostnameArgs(
    public val description: Output? = null,
    public val dnslink: Output? = null,
    public val name: Output? = null,
    public val target: Output? = null,
    public val zoneId: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.cloudflare.Web3HostnameArgs =
        com.pulumi.cloudflare.Web3HostnameArgs.builder()
            .description(description?.applyValue({ args0 -> args0 }))
            .dnslink(dnslink?.applyValue({ args0 -> args0 }))
            .name(name?.applyValue({ args0 -> args0 }))
            .target(target?.applyValue({ args0 -> args0 }))
            .zoneId(zoneId?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [Web3HostnameArgs].
 */
@PulumiTagMarker
public class Web3HostnameArgsBuilder internal constructor() {
    private var description: Output? = null

    private var dnslink: Output? = null

    private var name: Output? = null

    private var target: Output? = null

    private var zoneId: Output? = null

    /**
     * @param value An optional description of the hostname.
     */
    @JvmName("fctadwhymvfrnvwb")
    public suspend fun description(`value`: Output) {
        this.description = value
    }

    /**
     * @param value DNSLink value used if the target is ipfs.
     */
    @JvmName("tgbloxdlrtdjiocp")
    public suspend fun dnslink(`value`: Output) {
        this.dnslink = value
    }

    /**
     * @param value The hostname that will point to the target gateway via CNAME.
     */
    @JvmName("ncebkdavqqrhyruw")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value Target gateway of the hostname.
     */
    @JvmName("jiixtnksuwatnymv")
    public suspend fun target(`value`: Output) {
        this.target = value
    }

    /**
     * @param value The zone identifier to target for the resource.
     */
    @JvmName("omnnqpuaehesxvuo")
    public suspend fun zoneId(`value`: Output) {
        this.zoneId = value
    }

    /**
     * @param value An optional description of the hostname.
     */
    @JvmName("xsvnsqylnmolvmcq")
    public suspend fun description(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.description = mapped
    }

    /**
     * @param value DNSLink value used if the target is ipfs.
     */
    @JvmName("blgsjkqgkjviopfp")
    public suspend fun dnslink(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.dnslink = mapped
    }

    /**
     * @param value The hostname that will point to the target gateway via CNAME.
     */
    @JvmName("ehdlulseeojcpwnd")
    public suspend fun name(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value Target gateway of the hostname.
     */
    @JvmName("ajqglrpkflarodel")
    public suspend fun target(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.target = mapped
    }

    /**
     * @param value The zone identifier to target for the resource.
     */
    @JvmName("naumrwiwcxkgcayt")
    public suspend fun zoneId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.zoneId = mapped
    }

    internal fun build(): Web3HostnameArgs = Web3HostnameArgs(
        description = description,
        dnslink = dnslink,
        name = name,
        target = target,
        zoneId = zoneId,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy