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

com.pulumi.aws.finspace.kotlin.inputs.KxEnvironmentCustomDnsConfigurationArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.finspace.kotlin.inputs

import com.pulumi.aws.finspace.inputs.KxEnvironmentCustomDnsConfigurationArgs.builder
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 kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property customDnsServerIp IP address of the DNS server.
 * @property customDnsServerName Name of the DNS server.
 */
public data class KxEnvironmentCustomDnsConfigurationArgs(
    public val customDnsServerIp: Output,
    public val customDnsServerName: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.finspace.inputs.KxEnvironmentCustomDnsConfigurationArgs =
        com.pulumi.aws.finspace.inputs.KxEnvironmentCustomDnsConfigurationArgs.builder()
            .customDnsServerIp(customDnsServerIp.applyValue({ args0 -> args0 }))
            .customDnsServerName(customDnsServerName.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [KxEnvironmentCustomDnsConfigurationArgs].
 */
@PulumiTagMarker
public class KxEnvironmentCustomDnsConfigurationArgsBuilder internal constructor() {
    private var customDnsServerIp: Output? = null

    private var customDnsServerName: Output? = null

    /**
     * @param value IP address of the DNS server.
     */
    @JvmName("ofupsvceqyjmrtsm")
    public suspend fun customDnsServerIp(`value`: Output) {
        this.customDnsServerIp = value
    }

    /**
     * @param value Name of the DNS server.
     */
    @JvmName("xysybyfhdesqrdsr")
    public suspend fun customDnsServerName(`value`: Output) {
        this.customDnsServerName = value
    }

    /**
     * @param value IP address of the DNS server.
     */
    @JvmName("cixdwoeysmcwiwef")
    public suspend fun customDnsServerIp(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.customDnsServerIp = mapped
    }

    /**
     * @param value Name of the DNS server.
     */
    @JvmName("fcjawlixcqrigbjp")
    public suspend fun customDnsServerName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.customDnsServerName = mapped
    }

    internal fun build(): KxEnvironmentCustomDnsConfigurationArgs =
        KxEnvironmentCustomDnsConfigurationArgs(
            customDnsServerIp = customDnsServerIp ?: throw PulumiNullFieldException("customDnsServerIp"),
            customDnsServerName = customDnsServerName ?: throw PulumiNullFieldException("customDnsServerName"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy