com.pulumi.gcp.networksecurity.kotlin.inputs.ServerTlsPolicyMtlsPolicyClientValidationCaGrpcEndpointArgs.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.ServerTlsPolicyMtlsPolicyClientValidationCaGrpcEndpointArgs.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 ServerTlsPolicyMtlsPolicyClientValidationCaGrpcEndpointArgs(
public val targetUri: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.networksecurity.inputs.ServerTlsPolicyMtlsPolicyClientValidationCaGrpcEndpointArgs =
com.pulumi.gcp.networksecurity.inputs.ServerTlsPolicyMtlsPolicyClientValidationCaGrpcEndpointArgs.builder()
.targetUri(targetUri.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ServerTlsPolicyMtlsPolicyClientValidationCaGrpcEndpointArgs].
*/
@PulumiTagMarker
public class ServerTlsPolicyMtlsPolicyClientValidationCaGrpcEndpointArgsBuilder 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("ixxteoruqmqsdotj")
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("bpurlnlsbwtgakbx")
public suspend fun targetUri(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.targetUri = mapped
}
internal fun build(): ServerTlsPolicyMtlsPolicyClientValidationCaGrpcEndpointArgs =
ServerTlsPolicyMtlsPolicyClientValidationCaGrpcEndpointArgs(
targetUri = targetUri ?: throw PulumiNullFieldException("targetUri"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy