com.pulumi.gcp.networksecurity.kotlin.inputs.ClientTlsPolicyServerValidationCaArgs.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.ClientTlsPolicyServerValidationCaArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property certificateProviderInstance The certificate provider instance specification that will be passed to the data plane, which will be used to load necessary credential information.
* Structure is documented below.
* @property grpcEndpoint gRPC specific configuration to access the gRPC server to obtain the cert and private key.
* Structure is documented below.
*/
public data class ClientTlsPolicyServerValidationCaArgs(
public val certificateProviderInstance: Output? = null,
public val grpcEndpoint: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.networksecurity.inputs.ClientTlsPolicyServerValidationCaArgs = com.pulumi.gcp.networksecurity.inputs.ClientTlsPolicyServerValidationCaArgs.builder()
.certificateProviderInstance(
certificateProviderInstance?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.grpcEndpoint(grpcEndpoint?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [ClientTlsPolicyServerValidationCaArgs].
*/
@PulumiTagMarker
public class ClientTlsPolicyServerValidationCaArgsBuilder internal constructor() {
private var certificateProviderInstance:
Output? = null
private var grpcEndpoint: Output? = null
/**
* @param value The certificate provider instance specification that will be passed to the data plane, which will be used to load necessary credential information.
* Structure is documented below.
*/
@JvmName("wgdkjedqccqeoefy")
public suspend fun certificateProviderInstance(`value`: Output) {
this.certificateProviderInstance = value
}
/**
* @param value gRPC specific configuration to access the gRPC server to obtain the cert and private key.
* Structure is documented below.
*/
@JvmName("gbdcfflykfhemqmg")
public suspend fun grpcEndpoint(`value`: Output) {
this.grpcEndpoint = value
}
/**
* @param value The certificate provider instance specification that will be passed to the data plane, which will be used to load necessary credential information.
* Structure is documented below.
*/
@JvmName("idvuifjspadudnlu")
public suspend fun certificateProviderInstance(`value`: ClientTlsPolicyServerValidationCaCertificateProviderInstanceArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.certificateProviderInstance = mapped
}
/**
* @param argument The certificate provider instance specification that will be passed to the data plane, which will be used to load necessary credential information.
* Structure is documented below.
*/
@JvmName("ybqigfaiyuwmxmap")
public suspend fun certificateProviderInstance(argument: suspend ClientTlsPolicyServerValidationCaCertificateProviderInstanceArgsBuilder.() -> Unit) {
val toBeMapped =
ClientTlsPolicyServerValidationCaCertificateProviderInstanceArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.certificateProviderInstance = mapped
}
/**
* @param value gRPC specific configuration to access the gRPC server to obtain the cert and private key.
* Structure is documented below.
*/
@JvmName("hcklbvpirnvpsvkt")
public suspend fun grpcEndpoint(`value`: ClientTlsPolicyServerValidationCaGrpcEndpointArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.grpcEndpoint = mapped
}
/**
* @param argument gRPC specific configuration to access the gRPC server to obtain the cert and private key.
* Structure is documented below.
*/
@JvmName("ngdalfdbfxygojtq")
public suspend fun grpcEndpoint(argument: suspend ClientTlsPolicyServerValidationCaGrpcEndpointArgsBuilder.() -> Unit) {
val toBeMapped = ClientTlsPolicyServerValidationCaGrpcEndpointArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.grpcEndpoint = mapped
}
internal fun build(): ClientTlsPolicyServerValidationCaArgs =
ClientTlsPolicyServerValidationCaArgs(
certificateProviderInstance = certificateProviderInstance,
grpcEndpoint = grpcEndpoint,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy