
com.pulumi.azurenative.healthdataaiservices.kotlin.inputs.PrivateEndpointConnectionPropertiesArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.healthdataaiservices.kotlin.inputs
import com.pulumi.azurenative.healthdataaiservices.inputs.PrivateEndpointConnectionPropertiesArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
* Properties of the private endpoint connection.
* @property privateLinkServiceConnectionState A collection of information about the state of the connection between service consumer and provider.
*/
public data class PrivateEndpointConnectionPropertiesArgs(
public val privateLinkServiceConnectionState: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.healthdataaiservices.inputs.PrivateEndpointConnectionPropertiesArgs =
com.pulumi.azurenative.healthdataaiservices.inputs.PrivateEndpointConnectionPropertiesArgs.builder()
.privateLinkServiceConnectionState(
privateLinkServiceConnectionState.applyValue({ args0 ->
args0.let({ args0 -> args0.toJava() })
}),
).build()
}
/**
* Builder for [PrivateEndpointConnectionPropertiesArgs].
*/
@PulumiTagMarker
public class PrivateEndpointConnectionPropertiesArgsBuilder internal constructor() {
private var privateLinkServiceConnectionState: Output? =
null
/**
* @param value A collection of information about the state of the connection between service consumer and provider.
*/
@JvmName("edtqcunapagsqywk")
public suspend fun privateLinkServiceConnectionState(`value`: Output) {
this.privateLinkServiceConnectionState = value
}
/**
* @param value A collection of information about the state of the connection between service consumer and provider.
*/
@JvmName("qyllkhcigiisykqv")
public suspend fun privateLinkServiceConnectionState(`value`: PrivateLinkServiceConnectionStateArgs) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.privateLinkServiceConnectionState = mapped
}
/**
* @param argument A collection of information about the state of the connection between service consumer and provider.
*/
@JvmName("japhwtkaeiocktqv")
public suspend fun privateLinkServiceConnectionState(argument: suspend PrivateLinkServiceConnectionStateArgsBuilder.() -> Unit) {
val toBeMapped = PrivateLinkServiceConnectionStateArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.privateLinkServiceConnectionState = mapped
}
internal fun build(): PrivateEndpointConnectionPropertiesArgs =
PrivateEndpointConnectionPropertiesArgs(
privateLinkServiceConnectionState = privateLinkServiceConnectionState ?: throw
PulumiNullFieldException("privateLinkServiceConnectionState"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy