com.pulumi.gcp.certificateauthority.kotlin.outputs.CertificateCertificateDescriptionSubjectDescriptionSubject.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.certificateauthority.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property commonName The common name of the distinguished name.
* @property countryCode The country code of the subject.
* @property locality The locality or city of the subject.
* @property organization The organization of the subject.
* @property organizationalUnit The organizational unit of the subject.
* @property postalCode The postal code of the subject.
* @property province The province, territory, or regional state of the subject.
* @property streetAddress The street address of the subject.
*/
public data class CertificateCertificateDescriptionSubjectDescriptionSubject(
public val commonName: String? = null,
public val countryCode: String? = null,
public val locality: String? = null,
public val organization: String? = null,
public val organizationalUnit: String? = null,
public val postalCode: String? = null,
public val province: String? = null,
public val streetAddress: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.certificateauthority.outputs.CertificateCertificateDescriptionSubjectDescriptionSubject): CertificateCertificateDescriptionSubjectDescriptionSubject =
CertificateCertificateDescriptionSubjectDescriptionSubject(
commonName = javaType.commonName().map({ args0 -> args0 }).orElse(null),
countryCode = javaType.countryCode().map({ args0 -> args0 }).orElse(null),
locality = javaType.locality().map({ args0 -> args0 }).orElse(null),
organization = javaType.organization().map({ args0 -> args0 }).orElse(null),
organizationalUnit = javaType.organizationalUnit().map({ args0 -> args0 }).orElse(null),
postalCode = javaType.postalCode().map({ args0 -> args0 }).orElse(null),
province = javaType.province().map({ args0 -> args0 }).orElse(null),
streetAddress = javaType.streetAddress().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy