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

com.pulumi.awsnative.vpclattice.kotlin.inputs.ServiceDnsEntryArgs.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: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.vpclattice.kotlin.inputs

import com.pulumi.awsnative.vpclattice.inputs.ServiceDnsEntryArgs.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

/**
 *
 * @property domainName The domain name of the service.
 * @property hostedZoneId The ID of the hosted zone.
 */
public data class ServiceDnsEntryArgs(
    public val domainName: Output? = null,
    public val hostedZoneId: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.vpclattice.inputs.ServiceDnsEntryArgs =
        com.pulumi.awsnative.vpclattice.inputs.ServiceDnsEntryArgs.builder()
            .domainName(domainName?.applyValue({ args0 -> args0 }))
            .hostedZoneId(hostedZoneId?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ServiceDnsEntryArgs].
 */
@PulumiTagMarker
public class ServiceDnsEntryArgsBuilder internal constructor() {
    private var domainName: Output? = null

    private var hostedZoneId: Output? = null

    /**
     * @param value The domain name of the service.
     */
    @JvmName("pqjnaepeldlfulul")
    public suspend fun domainName(`value`: Output) {
        this.domainName = value
    }

    /**
     * @param value The ID of the hosted zone.
     */
    @JvmName("hvkeivbkbfrhdjyq")
    public suspend fun hostedZoneId(`value`: Output) {
        this.hostedZoneId = value
    }

    /**
     * @param value The domain name of the service.
     */
    @JvmName("gjtnmhxbutxnujja")
    public suspend fun domainName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.domainName = mapped
    }

    /**
     * @param value The ID of the hosted zone.
     */
    @JvmName("vhtvsuivoxefmwmb")
    public suspend fun hostedZoneId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.hostedZoneId = mapped
    }

    internal fun build(): ServiceDnsEntryArgs = ServiceDnsEntryArgs(
        domainName = domainName,
        hostedZoneId = hostedZoneId,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy