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

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

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

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

import com.pulumi.azurenative.network.inputs.EndpointServiceArgs.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.jvm.JvmName

/**
 * Identifies the service being brought into the virtual network.
 * @property id A unique identifier of the service being referenced by the interface endpoint.
 */
public data class EndpointServiceArgs(
    public val id: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.network.inputs.EndpointServiceArgs =
        com.pulumi.azurenative.network.inputs.EndpointServiceArgs.builder()
            .id(id?.applyValue({ args0 -> args0 })).build()
}

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

    /**
     * @param value A unique identifier of the service being referenced by the interface endpoint.
     */
    @JvmName("lexmnmtlljnedcdy")
    public suspend fun id(`value`: Output) {
        this.id = value
    }

    /**
     * @param value A unique identifier of the service being referenced by the interface endpoint.
     */
    @JvmName("cieixutkmknoqbol")
    public suspend fun id(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.id = mapped
    }

    internal fun build(): EndpointServiceArgs = EndpointServiceArgs(
        id = id,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy