
com.pulumi.awsnative.acmpca.kotlin.inputs.CertificateAuthorityGeneralNameArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.acmpca.kotlin.inputs
import com.pulumi.awsnative.acmpca.inputs.CertificateAuthorityGeneralNameArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
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.jvm.JvmName
/**
* Structure that contains X.509 GeneralName information. Assign one and ONLY one field.
* @property directoryName
* @property dnsName
* @property ediPartyName
* @property ipAddress
* @property otherName
* @property registeredId
* @property rfc822Name
* @property uniformResourceIdentifier
*/
public data class CertificateAuthorityGeneralNameArgs(
public val directoryName: Output? = null,
public val dnsName: Output? = null,
public val ediPartyName: Output? = null,
public val ipAddress: Output? = null,
public val otherName: Output? = null,
public val registeredId: Output? = null,
public val rfc822Name: Output? = null,
public val uniformResourceIdentifier: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.acmpca.inputs.CertificateAuthorityGeneralNameArgs =
com.pulumi.awsnative.acmpca.inputs.CertificateAuthorityGeneralNameArgs.builder()
.directoryName(directoryName?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.dnsName(dnsName?.applyValue({ args0 -> args0 }))
.ediPartyName(ediPartyName?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.ipAddress(ipAddress?.applyValue({ args0 -> args0 }))
.otherName(otherName?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.registeredId(registeredId?.applyValue({ args0 -> args0 }))
.rfc822Name(rfc822Name?.applyValue({ args0 -> args0 }))
.uniformResourceIdentifier(uniformResourceIdentifier?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [CertificateAuthorityGeneralNameArgs].
*/
@PulumiTagMarker
public class CertificateAuthorityGeneralNameArgsBuilder internal constructor() {
private var directoryName: Output? = null
private var dnsName: Output? = null
private var ediPartyName: Output? = null
private var ipAddress: Output? = null
private var otherName: Output? = null
private var registeredId: Output? = null
private var rfc822Name: Output? = null
private var uniformResourceIdentifier: Output? = null
/**
* @param value
*/
@JvmName("vruhvmvevllelrpq")
public suspend fun directoryName(`value`: Output) {
this.directoryName = value
}
/**
* @param value
*/
@JvmName("jsmsgawmjtiupxyg")
public suspend fun dnsName(`value`: Output) {
this.dnsName = value
}
/**
* @param value
*/
@JvmName("gqctrpimgviupmnk")
public suspend fun ediPartyName(`value`: Output) {
this.ediPartyName = value
}
/**
* @param value
*/
@JvmName("sovmfbnewmkfkhqf")
public suspend fun ipAddress(`value`: Output) {
this.ipAddress = value
}
/**
* @param value
*/
@JvmName("aqcpvuytqglskgdw")
public suspend fun otherName(`value`: Output) {
this.otherName = value
}
/**
* @param value
*/
@JvmName("hjmcwukqagjoioqf")
public suspend fun registeredId(`value`: Output) {
this.registeredId = value
}
/**
* @param value
*/
@JvmName("klatqugxeerurgvv")
public suspend fun rfc822Name(`value`: Output) {
this.rfc822Name = value
}
/**
* @param value
*/
@JvmName("xwrlsxwknlttyaud")
public suspend fun uniformResourceIdentifier(`value`: Output) {
this.uniformResourceIdentifier = value
}
/**
* @param value
*/
@JvmName("bmspdgmixtnfbsmq")
public suspend fun directoryName(`value`: CertificateAuthoritySubjectArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.directoryName = mapped
}
/**
* @param argument
*/
@JvmName("jrxuepbutirsuwxh")
public suspend fun directoryName(argument: suspend CertificateAuthoritySubjectArgsBuilder.() -> Unit) {
val toBeMapped = CertificateAuthoritySubjectArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.directoryName = mapped
}
/**
* @param value
*/
@JvmName("gccsvqaiyvvvvegd")
public suspend fun dnsName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.dnsName = mapped
}
/**
* @param value
*/
@JvmName("dskggantlskcngqu")
public suspend fun ediPartyName(`value`: CertificateAuthorityEdiPartyNameArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.ediPartyName = mapped
}
/**
* @param argument
*/
@JvmName("qlbonfnvqymlndho")
public suspend fun ediPartyName(argument: suspend CertificateAuthorityEdiPartyNameArgsBuilder.() -> Unit) {
val toBeMapped = CertificateAuthorityEdiPartyNameArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.ediPartyName = mapped
}
/**
* @param value
*/
@JvmName("qfjchvcrphnjmxow")
public suspend fun ipAddress(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.ipAddress = mapped
}
/**
* @param value
*/
@JvmName("ewqaloilajnxdcvn")
public suspend fun otherName(`value`: CertificateAuthorityOtherNameArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.otherName = mapped
}
/**
* @param argument
*/
@JvmName("impvukmppyajoomq")
public suspend fun otherName(argument: suspend CertificateAuthorityOtherNameArgsBuilder.() -> Unit) {
val toBeMapped = CertificateAuthorityOtherNameArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.otherName = mapped
}
/**
* @param value
*/
@JvmName("ugnundjjwftvwbac")
public suspend fun registeredId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.registeredId = mapped
}
/**
* @param value
*/
@JvmName("suvdthamipepsika")
public suspend fun rfc822Name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.rfc822Name = mapped
}
/**
* @param value
*/
@JvmName("rpthedgebxwbidix")
public suspend fun uniformResourceIdentifier(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.uniformResourceIdentifier = mapped
}
internal fun build(): CertificateAuthorityGeneralNameArgs = CertificateAuthorityGeneralNameArgs(
directoryName = directoryName,
dnsName = dnsName,
ediPartyName = ediPartyName,
ipAddress = ipAddress,
otherName = otherName,
registeredId = registeredId,
rfc822Name = rfc822Name,
uniformResourceIdentifier = uniformResourceIdentifier,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy