![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.acmpca.kotlin.inputs.GetCertificatePlainArgs.kt Maven / Gradle / Ivy
@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("ulddutkkkdcnldyf")
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("durjlmtibukkevun")
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