
com.pulumi.awsnative.transfer.kotlin.outputs.GetCertificateResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.transfer.kotlin.outputs
import com.pulumi.awsnative.kotlin.outputs.Tag
import com.pulumi.awsnative.transfer.kotlin.enums.CertificateStatus
import com.pulumi.awsnative.transfer.kotlin.enums.CertificateType
import com.pulumi.awsnative.transfer.kotlin.enums.CertificateUsage
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property activeDate Specifies the active date for the certificate.
* @property arn Specifies the unique Amazon Resource Name (ARN) for the agreement.
* @property certificateId A unique identifier for the certificate.
* @property description A textual description for the certificate.
* @property inactiveDate Specifies the inactive date for the certificate.
* @property notAfterDate Specifies the not after date for the certificate.
* @property notBeforeDate Specifies the not before date for the certificate.
* @property serial Specifies Certificate's serial.
* @property status A status description for the certificate.
* @property tags Key-value pairs that can be used to group and search for certificates. Tags are metadata attached to certificates for any purpose.
* @property type Describing the type of certificate. With or without a private key.
* @property usage Specifies the usage type for the certificate.
*/
public data class GetCertificateResult(
public val activeDate: String? = null,
public val arn: String? = null,
public val certificateId: String? = null,
public val description: String? = null,
public val inactiveDate: String? = null,
public val notAfterDate: String? = null,
public val notBeforeDate: String? = null,
public val serial: String? = null,
public val status: CertificateStatus? = null,
public val tags: List? = null,
public val type: CertificateType? = null,
public val usage: CertificateUsage? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.transfer.outputs.GetCertificateResult): GetCertificateResult = GetCertificateResult(
activeDate = javaType.activeDate().map({ args0 -> args0 }).orElse(null),
arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
certificateId = javaType.certificateId().map({ args0 -> args0 }).orElse(null),
description = javaType.description().map({ args0 -> args0 }).orElse(null),
inactiveDate = javaType.inactiveDate().map({ args0 -> args0 }).orElse(null),
notAfterDate = javaType.notAfterDate().map({ args0 -> args0 }).orElse(null),
notBeforeDate = javaType.notBeforeDate().map({ args0 -> args0 }).orElse(null),
serial = javaType.serial().map({ args0 -> args0 }).orElse(null),
status = javaType.status().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.transfer.kotlin.enums.CertificateStatus.Companion.toKotlin(args0)
})
}).orElse(null),
tags = javaType.tags().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
})
}),
type = javaType.type().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.transfer.kotlin.enums.CertificateType.Companion.toKotlin(args0)
})
}).orElse(null),
usage = javaType.usage().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.transfer.kotlin.enums.CertificateUsage.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy