![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.apimanagement.kotlin.inputs.RemotePrivateEndpointConnectionWrapperArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.apimanagement.kotlin.inputs
import com.pulumi.azurenative.apimanagement.inputs.RemotePrivateEndpointConnectionWrapperArgs.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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
* Remote Private Endpoint Connection resource.
* @property id Private Endpoint connection resource id
* @property name Private Endpoint Connection Name
* @property privateLinkServiceConnectionState A collection of information about the state of the connection between service consumer and provider.
* @property type Private Endpoint Connection Resource Type
*/
public data class RemotePrivateEndpointConnectionWrapperArgs(
public val id: Output? = null,
public val name: Output? = null,
public val privateLinkServiceConnectionState: Output,
public val type: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.apimanagement.inputs.RemotePrivateEndpointConnectionWrapperArgs =
com.pulumi.azurenative.apimanagement.inputs.RemotePrivateEndpointConnectionWrapperArgs.builder()
.id(id?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.privateLinkServiceConnectionState(
privateLinkServiceConnectionState.applyValue({ args0 ->
args0.let({ args0 -> args0.toJava() })
}),
)
.type(type?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [RemotePrivateEndpointConnectionWrapperArgs].
*/
@PulumiTagMarker
public class RemotePrivateEndpointConnectionWrapperArgsBuilder internal constructor() {
private var id: Output? = null
private var name: Output? = null
private var privateLinkServiceConnectionState: Output? =
null
private var type: Output? = null
/**
* @param value Private Endpoint connection resource id
*/
@JvmName("jlhqgpbqsdffxlnw")
public suspend fun id(`value`: Output) {
this.id = value
}
/**
* @param value Private Endpoint Connection Name
*/
@JvmName("xnyoddularcbhofg")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value A collection of information about the state of the connection between service consumer and provider.
*/
@JvmName("mlaixmxffspojaid")
public suspend fun privateLinkServiceConnectionState(`value`: Output) {
this.privateLinkServiceConnectionState = value
}
/**
* @param value Private Endpoint Connection Resource Type
*/
@JvmName("tlbcyhhdigeyrkrq")
public suspend fun type(`value`: Output) {
this.type = value
}
/**
* @param value Private Endpoint connection resource id
*/
@JvmName("wkotfehowimfekeb")
public suspend fun id(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.id = mapped
}
/**
* @param value Private Endpoint Connection Name
*/
@JvmName("bxgxkhghyhssaysx")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value A collection of information about the state of the connection between service consumer and provider.
*/
@JvmName("spbtytingxlxnryl")
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("krhgjvqmfueexbbg")
public suspend fun privateLinkServiceConnectionState(argument: suspend PrivateLinkServiceConnectionStateArgsBuilder.() -> Unit) {
val toBeMapped = PrivateLinkServiceConnectionStateArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.privateLinkServiceConnectionState = mapped
}
/**
* @param value Private Endpoint Connection Resource Type
*/
@JvmName("leuvrgbyqaktbudu")
public suspend fun type(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.type = mapped
}
internal fun build(): RemotePrivateEndpointConnectionWrapperArgs =
RemotePrivateEndpointConnectionWrapperArgs(
id = id,
name = name,
privateLinkServiceConnectionState = privateLinkServiceConnectionState ?: throw
PulumiNullFieldException("privateLinkServiceConnectionState"),
type = type,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy