com.pulumi.azure.privatelink.kotlin.inputs.GetServiceEndpointConnectionsPlainArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.privatelink.kotlin.inputs
import com.pulumi.azure.privatelink.inputs.GetServiceEndpointConnectionsPlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* A collection of arguments for invoking getServiceEndpointConnections.
* @property resourceGroupName The name of the resource group in which the private link service resides.
* @property serviceId The resource ID of the private link service.
*/
public data class GetServiceEndpointConnectionsPlainArgs(
public val resourceGroupName: String,
public val serviceId: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.privatelink.inputs.GetServiceEndpointConnectionsPlainArgs =
com.pulumi.azure.privatelink.inputs.GetServiceEndpointConnectionsPlainArgs.builder()
.resourceGroupName(resourceGroupName.let({ args0 -> args0 }))
.serviceId(serviceId.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetServiceEndpointConnectionsPlainArgs].
*/
@PulumiTagMarker
public class GetServiceEndpointConnectionsPlainArgsBuilder internal constructor() {
private var resourceGroupName: String? = null
private var serviceId: String? = null
/**
* @param value The name of the resource group in which the private link service resides.
*/
@JvmName("kevpsoehocthmtjo")
public suspend fun resourceGroupName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.resourceGroupName = mapped
}
/**
* @param value The resource ID of the private link service.
*/
@JvmName("voyxwyktjytasbwc")
public suspend fun serviceId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.serviceId = mapped
}
internal fun build(): GetServiceEndpointConnectionsPlainArgs =
GetServiceEndpointConnectionsPlainArgs(
resourceGroupName = resourceGroupName ?: throw PulumiNullFieldException("resourceGroupName"),
serviceId = serviceId ?: throw PulumiNullFieldException("serviceId"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy