![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.apimanagement.kotlin.inputs.CertificateInformationArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-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.azurenative.apimanagement.kotlin.inputs
import com.pulumi.azurenative.apimanagement.inputs.CertificateInformationArgs.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
/**
* SSL certificate information.
* @property expiry Expiration date of the certificate. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.
* @property subject Subject of the certificate.
* @property thumbprint Thumbprint of the certificate.
*/
public data class CertificateInformationArgs(
public val expiry: Output,
public val subject: Output,
public val thumbprint: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.apimanagement.inputs.CertificateInformationArgs =
com.pulumi.azurenative.apimanagement.inputs.CertificateInformationArgs.builder()
.expiry(expiry.applyValue({ args0 -> args0 }))
.subject(subject.applyValue({ args0 -> args0 }))
.thumbprint(thumbprint.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [CertificateInformationArgs].
*/
@PulumiTagMarker
public class CertificateInformationArgsBuilder internal constructor() {
private var expiry: Output? = null
private var subject: Output? = null
private var thumbprint: Output? = null
/**
* @param value Expiration date of the certificate. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.
*/
@JvmName("soxchogyymlvwtay")
public suspend fun expiry(`value`: Output) {
this.expiry = value
}
/**
* @param value Subject of the certificate.
*/
@JvmName("urwfxhdfqpjfnkvs")
public suspend fun subject(`value`: Output) {
this.subject = value
}
/**
* @param value Thumbprint of the certificate.
*/
@JvmName("jxtjirodjfqqhksm")
public suspend fun thumbprint(`value`: Output) {
this.thumbprint = value
}
/**
* @param value Expiration date of the certificate. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.
*/
@JvmName("bcixpeaujrkunxra")
public suspend fun expiry(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.expiry = mapped
}
/**
* @param value Subject of the certificate.
*/
@JvmName("epyblnnppkagptkb")
public suspend fun subject(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.subject = mapped
}
/**
* @param value Thumbprint of the certificate.
*/
@JvmName("gmbunpedqorlrmqc")
public suspend fun thumbprint(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.thumbprint = mapped
}
internal fun build(): CertificateInformationArgs = CertificateInformationArgs(
expiry = expiry ?: throw PulumiNullFieldException("expiry"),
subject = subject ?: throw PulumiNullFieldException("subject"),
thumbprint = thumbprint ?: throw PulumiNullFieldException("thumbprint"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy