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

com.pulumi.azurenative.network.kotlin.inputs.VpnServerConfigurationPolicyGroupMemberArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azurenative.network.kotlin.inputs

import com.pulumi.azurenative.network.inputs.VpnServerConfigurationPolicyGroupMemberArgs.builder
import com.pulumi.azurenative.network.kotlin.enums.VpnPolicyMemberAttributeType
import com.pulumi.core.Either
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

/**
 * VpnServerConfiguration PolicyGroup member
 * @property attributeType The Vpn Policy member attribute type.
 * @property attributeValue The value of Attribute used for this VpnServerConfigurationPolicyGroupMember.
 * @property name Name of the VpnServerConfigurationPolicyGroupMember.
 */
public data class VpnServerConfigurationPolicyGroupMemberArgs(
    public val attributeType: Output>? = null,
    public val attributeValue: Output? = null,
    public val name: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.network.inputs.VpnServerConfigurationPolicyGroupMemberArgs =
        com.pulumi.azurenative.network.inputs.VpnServerConfigurationPolicyGroupMemberArgs.builder()
            .attributeType(
                attributeType?.applyValue({ args0 ->
                    args0.transform({ args0 -> args0 }, { args0 ->
                        args0.let({ args0 -> args0.toJava() })
                    })
                }),
            )
            .attributeValue(attributeValue?.applyValue({ args0 -> args0 }))
            .name(name?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [VpnServerConfigurationPolicyGroupMemberArgs].
 */
@PulumiTagMarker
public class VpnServerConfigurationPolicyGroupMemberArgsBuilder internal constructor() {
    private var attributeType: Output>? = null

    private var attributeValue: Output? = null

    private var name: Output? = null

    /**
     * @param value The Vpn Policy member attribute type.
     */
    @JvmName("hbxyxcfkqbouhfgy")
    public suspend fun attributeType(`value`: Output>) {
        this.attributeType = value
    }

    /**
     * @param value The value of Attribute used for this VpnServerConfigurationPolicyGroupMember.
     */
    @JvmName("lpftjiipwtqtbvds")
    public suspend fun attributeValue(`value`: Output) {
        this.attributeValue = value
    }

    /**
     * @param value Name of the VpnServerConfigurationPolicyGroupMember.
     */
    @JvmName("huvxvkbtsrxatyee")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value The Vpn Policy member attribute type.
     */
    @JvmName("puuaplxoudglehrt")
    public suspend fun attributeType(`value`: Either?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.attributeType = mapped
    }

    /**
     * @param value The Vpn Policy member attribute type.
     */
    @JvmName("cchqqmlexhbvyrlg")
    public fun attributeType(`value`: String) {
        val toBeMapped = Either.ofLeft(value)
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.attributeType = mapped
    }

    /**
     * @param value The Vpn Policy member attribute type.
     */
    @JvmName("octvhymvqrpmmgyw")
    public fun attributeType(`value`: VpnPolicyMemberAttributeType) {
        val toBeMapped = Either.ofRight(value)
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.attributeType = mapped
    }

    /**
     * @param value The value of Attribute used for this VpnServerConfigurationPolicyGroupMember.
     */
    @JvmName("dlvnnckgfsrwvkvx")
    public suspend fun attributeValue(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.attributeValue = mapped
    }

    /**
     * @param value Name of the VpnServerConfigurationPolicyGroupMember.
     */
    @JvmName("avgqrarodwkxqqdx")
    public suspend fun name(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.name = mapped
    }

    internal fun build(): VpnServerConfigurationPolicyGroupMemberArgs =
        VpnServerConfigurationPolicyGroupMemberArgs(
            attributeType = attributeType,
            attributeValue = attributeValue,
            name = name,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy