com.pulumi.gcp.certificateauthority.kotlin.inputs.CertificateTemplatePredefinedValuesArgs.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.certificateauthority.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.certificateauthority.inputs.CertificateTemplatePredefinedValuesArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property additionalExtensions Optional. Describes custom X.509 extensions.
* @property aiaOcspServers Optional. Describes Online Certificate Status Protocol (OCSP) endpoint addresses that appear in the "Authority Information Access" extension in the certificate.
* @property caOptions Optional. Describes options in this X509Parameters that are relevant in a CA certificate.
* @property keyUsage Optional. Indicates the intended use for keys that correspond to a certificate.
* @property policyIds Optional. Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.
*/
public data class CertificateTemplatePredefinedValuesArgs(
public val additionalExtensions: Output>? = null,
public val aiaOcspServers: Output>? = null,
public val caOptions: Output? = null,
public val keyUsage: Output? = null,
public val policyIds: Output>? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.certificateauthority.inputs.CertificateTemplatePredefinedValuesArgs =
com.pulumi.gcp.certificateauthority.inputs.CertificateTemplatePredefinedValuesArgs.builder()
.additionalExtensions(
additionalExtensions?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.aiaOcspServers(aiaOcspServers?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.caOptions(caOptions?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.keyUsage(keyUsage?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.policyIds(
policyIds?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [CertificateTemplatePredefinedValuesArgs].
*/
@PulumiTagMarker
public class CertificateTemplatePredefinedValuesArgsBuilder internal constructor() {
private var additionalExtensions:
Output>? = null
private var aiaOcspServers: Output>? = null
private var caOptions: Output? = null
private var keyUsage: Output? = null
private var policyIds: Output>? = null
/**
* @param value Optional. Describes custom X.509 extensions.
*/
@JvmName("tktflixiprovgcvp")
public suspend fun additionalExtensions(`value`: Output>) {
this.additionalExtensions = value
}
@JvmName("dicohuxrfbyidljj")
public suspend fun additionalExtensions(vararg values: Output) {
this.additionalExtensions = Output.all(values.asList())
}
/**
* @param values Optional. Describes custom X.509 extensions.
*/
@JvmName("nvhvsguqgydynioj")
public suspend fun additionalExtensions(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy