com.pulumi.awsnative.acmpca.kotlin.inputs.CertificateAuthorityCustomAttributeArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.awsnative.acmpca.kotlin.inputs
import com.pulumi.awsnative.acmpca.inputs.CertificateAuthorityCustomAttributeArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
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
/**
* Structure that contains X.500 attribute type and value.
* @property objectIdentifier
* @property value
*/
public data class CertificateAuthorityCustomAttributeArgs(
public val objectIdentifier: Output,
public val `value`: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.acmpca.inputs.CertificateAuthorityCustomAttributeArgs = com.pulumi.awsnative.acmpca.inputs.CertificateAuthorityCustomAttributeArgs.builder()
.objectIdentifier(objectIdentifier.applyValue({ args0 -> args0 }))
.`value`(`value`.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [CertificateAuthorityCustomAttributeArgs].
*/
@PulumiTagMarker
public class CertificateAuthorityCustomAttributeArgsBuilder internal constructor() {
private var objectIdentifier: Output? = null
private var `value`: Output? = null
/**
* @param value
*/
@JvmName("uhyfvgcgtqgtmhvu")
public suspend fun objectIdentifier(`value`: Output) {
this.objectIdentifier = value
}
/**
* @param value
*/
@JvmName("yodvlnemmcoemykr")
public suspend fun `value`(`value`: Output) {
this.`value` = value
}
/**
* @param value
*/
@JvmName("qvumjhifrllodkpp")
public suspend fun objectIdentifier(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.objectIdentifier = mapped
}
/**
* @param value
*/
@JvmName("bfmvhyyambhmtnhk")
public suspend fun `value`(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.`value` = mapped
}
internal fun build(): CertificateAuthorityCustomAttributeArgs =
CertificateAuthorityCustomAttributeArgs(
objectIdentifier = objectIdentifier ?: throw PulumiNullFieldException("objectIdentifier"),
`value` = `value` ?: throw PulumiNullFieldException("value"),
)
}