
com.pulumi.awsnative.acmpca.kotlin.inputs.GetCertificatePlainArgs.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.GetCertificatePlainArgs.builder
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
/**
*
* @property arn The Amazon Resource Name (ARN) of the issued certificate.
* @property certificateAuthorityArn The Amazon Resource Name (ARN) for the private CA issues the certificate.
*/
public data class GetCertificatePlainArgs(
public val arn: String,
public val certificateAuthorityArn: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.acmpca.inputs.GetCertificatePlainArgs =
com.pulumi.awsnative.acmpca.inputs.GetCertificatePlainArgs.builder()
.arn(arn.let({ args0 -> args0 }))
.certificateAuthorityArn(certificateAuthorityArn.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetCertificatePlainArgs].
*/
@PulumiTagMarker
public class GetCertificatePlainArgsBuilder internal constructor() {
private var arn: String? = null
private var certificateAuthorityArn: String? = null
/**
* @param value The Amazon Resource Name (ARN) of the issued certificate.
*/
@JvmName("krvjsaocmaeqeylk")
public suspend fun arn(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.arn = mapped
}
/**
* @param value The Amazon Resource Name (ARN) for the private CA issues the certificate.
*/
@JvmName("uwtmguvxemqedkne")
public suspend fun certificateAuthorityArn(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.certificateAuthorityArn = mapped
}
internal fun build(): GetCertificatePlainArgs = GetCertificatePlainArgs(
arn = arn ?: throw PulumiNullFieldException("arn"),
certificateAuthorityArn = certificateAuthorityArn ?: throw
PulumiNullFieldException("certificateAuthorityArn"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy