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

com.pulumi.gcp.dns.kotlin.inputs.ManagedZoneServiceDirectoryConfigArgs.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: 8.12.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.dns.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.dns.inputs.ManagedZoneServiceDirectoryConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 *
 * @property namespace The namespace associated with the zone.
 * Structure is documented below.
 */
public data class ManagedZoneServiceDirectoryConfigArgs(
    public val namespace: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.dns.inputs.ManagedZoneServiceDirectoryConfigArgs =
        com.pulumi.gcp.dns.inputs.ManagedZoneServiceDirectoryConfigArgs.builder()
            .namespace(namespace.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [ManagedZoneServiceDirectoryConfigArgs].
 */
@PulumiTagMarker
public class ManagedZoneServiceDirectoryConfigArgsBuilder internal constructor() {
    private var namespace: Output? = null

    /**
     * @param value The namespace associated with the zone.
     * Structure is documented below.
     */
    @JvmName("wroiuglfnbmxqusk")
    public suspend fun namespace(`value`: Output) {
        this.namespace = value
    }

    /**
     * @param value The namespace associated with the zone.
     * Structure is documented below.
     */
    @JvmName("kqauxjygstcpeyao")
    public suspend fun namespace(`value`: ManagedZoneServiceDirectoryConfigNamespaceArgs) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.namespace = mapped
    }

    /**
     * @param argument The namespace associated with the zone.
     * Structure is documented below.
     */
    @JvmName("qbypnqeyxsufsskk")
    public suspend fun namespace(argument: suspend ManagedZoneServiceDirectoryConfigNamespaceArgsBuilder.() -> Unit) {
        val toBeMapped = ManagedZoneServiceDirectoryConfigNamespaceArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.namespace = mapped
    }

    internal fun build(): ManagedZoneServiceDirectoryConfigArgs =
        ManagedZoneServiceDirectoryConfigArgs(
            namespace = namespace ?: throw PulumiNullFieldException("namespace"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy