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