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

com.pulumi.azure.privatelink.kotlin.inputs.EndpointPrivateDnsZoneGroupArgs.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.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.privatelink.kotlin.inputs

import com.pulumi.azure.privatelink.inputs.EndpointPrivateDnsZoneGroupArgs.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.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property id The ID of the Private DNS Zone Config.
 * @property name Specifies the Name of the Private DNS Zone Group.
 * @property privateDnsZoneIds Specifies the list of Private DNS Zones to include within the `private_dns_zone_group`.
 */
public data class EndpointPrivateDnsZoneGroupArgs(
    public val id: Output? = null,
    public val name: Output,
    public val privateDnsZoneIds: Output>,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.privatelink.inputs.EndpointPrivateDnsZoneGroupArgs =
        com.pulumi.azure.privatelink.inputs.EndpointPrivateDnsZoneGroupArgs.builder()
            .id(id?.applyValue({ args0 -> args0 }))
            .name(name.applyValue({ args0 -> args0 }))
            .privateDnsZoneIds(privateDnsZoneIds.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

/**
 * Builder for [EndpointPrivateDnsZoneGroupArgs].
 */
@PulumiTagMarker
public class EndpointPrivateDnsZoneGroupArgsBuilder internal constructor() {
    private var id: Output? = null

    private var name: Output? = null

    private var privateDnsZoneIds: Output>? = null

    /**
     * @param value The ID of the Private DNS Zone Config.
     */
    @JvmName("uuuayctjyrnapews")
    public suspend fun id(`value`: Output) {
        this.id = value
    }

    /**
     * @param value Specifies the Name of the Private DNS Zone Group.
     */
    @JvmName("lhofifphfvdibyel")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value Specifies the list of Private DNS Zones to include within the `private_dns_zone_group`.
     */
    @JvmName("iecrrlnkerknyvrw")
    public suspend fun privateDnsZoneIds(`value`: Output>) {
        this.privateDnsZoneIds = value
    }

    @JvmName("hlxsisiwtplsdrbn")
    public suspend fun privateDnsZoneIds(vararg values: Output) {
        this.privateDnsZoneIds = Output.all(values.asList())
    }

    /**
     * @param values Specifies the list of Private DNS Zones to include within the `private_dns_zone_group`.
     */
    @JvmName("magtjuauiqborhmm")
    public suspend fun privateDnsZoneIds(values: List>) {
        this.privateDnsZoneIds = Output.all(values)
    }

    /**
     * @param value The ID of the Private DNS Zone Config.
     */
    @JvmName("uxwxryquojjfhbqv")
    public suspend fun id(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.id = mapped
    }

    /**
     * @param value Specifies the Name of the Private DNS Zone Group.
     */
    @JvmName("koshburpsojemcuc")
    public suspend fun name(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value Specifies the list of Private DNS Zones to include within the `private_dns_zone_group`.
     */
    @JvmName("ufmmvfjhaouksmkv")
    public suspend fun privateDnsZoneIds(`value`: List) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.privateDnsZoneIds = mapped
    }

    /**
     * @param values Specifies the list of Private DNS Zones to include within the `private_dns_zone_group`.
     */
    @JvmName("spdhdakyumcuavjd")
    public suspend fun privateDnsZoneIds(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.privateDnsZoneIds = mapped
    }

    internal fun build(): EndpointPrivateDnsZoneGroupArgs = EndpointPrivateDnsZoneGroupArgs(
        id = id,
        name = name ?: throw PulumiNullFieldException("name"),
        privateDnsZoneIds = privateDnsZoneIds ?: throw PulumiNullFieldException("privateDnsZoneIds"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy