com.pulumi.azurenative.digitaltwins.kotlin.inputs.ConnectionPropertiesArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.digitaltwins.kotlin.inputs
import com.pulumi.azurenative.digitaltwins.inputs.ConnectionPropertiesArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* The properties of a private endpoint connection.
* @property groupIds The list of group ids for the private endpoint connection.
* @property privateLinkServiceConnectionState The connection state.
*/
public data class ConnectionPropertiesArgs(
public val groupIds: Output>? = null,
public val privateLinkServiceConnectionState: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.digitaltwins.inputs.ConnectionPropertiesArgs =
com.pulumi.azurenative.digitaltwins.inputs.ConnectionPropertiesArgs.builder()
.groupIds(groupIds?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.privateLinkServiceConnectionState(
privateLinkServiceConnectionState?.applyValue({ args0 ->
args0.let({ args0 -> args0.toJava() })
}),
).build()
}
/**
* Builder for [ConnectionPropertiesArgs].
*/
@PulumiTagMarker
public class ConnectionPropertiesArgsBuilder internal constructor() {
private var groupIds: Output>? = null
private var privateLinkServiceConnectionState:
Output? = null
/**
* @param value The list of group ids for the private endpoint connection.
*/
@JvmName("qaglogyavcsmmnom")
public suspend fun groupIds(`value`: Output>) {
this.groupIds = value
}
@JvmName("apcoretbogmgusvh")
public suspend fun groupIds(vararg values: Output) {
this.groupIds = Output.all(values.asList())
}
/**
* @param values The list of group ids for the private endpoint connection.
*/
@JvmName("vhsmafukqjtjnqbq")
public suspend fun groupIds(values: List