com.pulumi.gcp.networksecurity.kotlin.inputs.ClientTlsPolicyClientCertificateGrpcEndpointArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.networksecurity.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.networksecurity.inputs.ClientTlsPolicyClientCertificateGrpcEndpointArgs.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
/**
*
* @property targetUri The target URI of the gRPC endpoint. Only UDS path is supported, and should start with "unix:".
*/
public data class ClientTlsPolicyClientCertificateGrpcEndpointArgs(
public val targetUri: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.networksecurity.inputs.ClientTlsPolicyClientCertificateGrpcEndpointArgs =
com.pulumi.gcp.networksecurity.inputs.ClientTlsPolicyClientCertificateGrpcEndpointArgs.builder()
.targetUri(targetUri.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ClientTlsPolicyClientCertificateGrpcEndpointArgs].
*/
@PulumiTagMarker
public class ClientTlsPolicyClientCertificateGrpcEndpointArgsBuilder internal constructor() {
private var targetUri: Output? = null
/**
* @param value The target URI of the gRPC endpoint. Only UDS path is supported, and should start with "unix:".
*/
@JvmName("qgkmxqdmliyrnpfq")
public suspend fun targetUri(`value`: Output) {
this.targetUri = value
}
/**
* @param value The target URI of the gRPC endpoint. Only UDS path is supported, and should start with "unix:".
*/
@JvmName("oauptijwtmdcrqoq")
public suspend fun targetUri(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.targetUri = mapped
}
internal fun build(): ClientTlsPolicyClientCertificateGrpcEndpointArgs =
ClientTlsPolicyClientCertificateGrpcEndpointArgs(
targetUri = targetUri ?: throw PulumiNullFieldException("targetUri"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy