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

com.pulumi.azurenative.containerservice.kotlin.inputs.PrivateLinkResourceArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azurenative.containerservice.kotlin.inputs

import com.pulumi.azurenative.containerservice.inputs.PrivateLinkResourceArgs.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.collections.List
import kotlin.jvm.JvmName

/**
 * A private link resource
 * @property groupId The group ID of the resource.
 * @property id The ID of the private link resource.
 * @property name The name of the private link resource.
 * @property requiredMembers The RequiredMembers of the resource
 * @property type The resource type.
 */
public data class PrivateLinkResourceArgs(
    public val groupId: Output? = null,
    public val id: Output? = null,
    public val name: Output? = null,
    public val requiredMembers: Output>? = null,
    public val type: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.containerservice.inputs.PrivateLinkResourceArgs =
        com.pulumi.azurenative.containerservice.inputs.PrivateLinkResourceArgs.builder()
            .groupId(groupId?.applyValue({ args0 -> args0 }))
            .id(id?.applyValue({ args0 -> args0 }))
            .name(name?.applyValue({ args0 -> args0 }))
            .requiredMembers(requiredMembers?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .type(type?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [PrivateLinkResourceArgs].
 */
@PulumiTagMarker
public class PrivateLinkResourceArgsBuilder internal constructor() {
    private var groupId: Output? = null

    private var id: Output? = null

    private var name: Output? = null

    private var requiredMembers: Output>? = null

    private var type: Output? = null

    /**
     * @param value The group ID of the resource.
     */
    @JvmName("pqpbfnkxdphpblnw")
    public suspend fun groupId(`value`: Output) {
        this.groupId = value
    }

    /**
     * @param value The ID of the private link resource.
     */
    @JvmName("wmciqrypmutaqcfw")
    public suspend fun id(`value`: Output) {
        this.id = value
    }

    /**
     * @param value The name of the private link resource.
     */
    @JvmName("rmjywbwdiiudtsux")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value The RequiredMembers of the resource
     */
    @JvmName("kswwnpmlhqvssnsd")
    public suspend fun requiredMembers(`value`: Output>) {
        this.requiredMembers = value
    }

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

    /**
     * @param values The RequiredMembers of the resource
     */
    @JvmName("aojafndbifmgjrxg")
    public suspend fun requiredMembers(values: List>) {
        this.requiredMembers = Output.all(values)
    }

    /**
     * @param value The resource type.
     */
    @JvmName("dgbetbooaburuksm")
    public suspend fun type(`value`: Output) {
        this.type = value
    }

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

    /**
     * @param value The ID of the private link resource.
     */
    @JvmName("rtxwxvnuiyppeonc")
    public suspend fun id(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.id = mapped
    }

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

    /**
     * @param value The RequiredMembers of the resource
     */
    @JvmName("ofcbchrrahnelqkc")
    public suspend fun requiredMembers(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.requiredMembers = mapped
    }

    /**
     * @param values The RequiredMembers of the resource
     */
    @JvmName("heebqqrwlrxiuirf")
    public suspend fun requiredMembers(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.requiredMembers = mapped
    }

    /**
     * @param value The resource type.
     */
    @JvmName("raatkhchwjgsvhtk")
    public suspend fun type(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.type = mapped
    }

    internal fun build(): PrivateLinkResourceArgs = PrivateLinkResourceArgs(
        groupId = groupId,
        id = id,
        name = name,
        requiredMembers = requiredMembers,
        type = type,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy