All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.apigee.kotlin.inputs.TargetServerSSlInfoCommonNameArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.12.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.apigee.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.apigee.inputs.TargetServerSSlInfoCommonNameArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property value The TLS Common Name string of the certificate.
 * @property wildcardMatch Indicates whether the cert should be matched against as a wildcard cert.
 */
public data class TargetServerSSlInfoCommonNameArgs(
    public val `value`: Output? = null,
    public val wildcardMatch: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.apigee.inputs.TargetServerSSlInfoCommonNameArgs =
        com.pulumi.gcp.apigee.inputs.TargetServerSSlInfoCommonNameArgs.builder()
            .`value`(`value`?.applyValue({ args0 -> args0 }))
            .wildcardMatch(wildcardMatch?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [TargetServerSSlInfoCommonNameArgs].
 */
@PulumiTagMarker
public class TargetServerSSlInfoCommonNameArgsBuilder internal constructor() {
    private var `value`: Output? = null

    private var wildcardMatch: Output? = null

    /**
     * @param value The TLS Common Name string of the certificate.
     */
    @JvmName("fikdehdgeagympov")
    public suspend fun `value`(`value`: Output) {
        this.`value` = value
    }

    /**
     * @param value Indicates whether the cert should be matched against as a wildcard cert.
     */
    @JvmName("ctxlwsdvoofxianb")
    public suspend fun wildcardMatch(`value`: Output) {
        this.wildcardMatch = value
    }

    /**
     * @param value The TLS Common Name string of the certificate.
     */
    @JvmName("oiexlsdolketyota")
    public suspend fun `value`(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.`value` = mapped
    }

    /**
     * @param value Indicates whether the cert should be matched against as a wildcard cert.
     */
    @JvmName("dburqkfcgoaplwnf")
    public suspend fun wildcardMatch(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.wildcardMatch = mapped
    }

    internal fun build(): TargetServerSSlInfoCommonNameArgs = TargetServerSSlInfoCommonNameArgs(
        `value` = `value`,
        wildcardMatch = wildcardMatch,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy