All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.apigee.kotlin.outputs.KeystoresAliasesSelfSignedCertSubject.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.12.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.apigee.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property commonName Common name of the organization. Maximum length is 64 characters.
 * @property countryCode Two-letter country code. Example, IN for India, US for United States of America.
 * @property email Email address. Max 255 characters.
 * - - -
 * @property locality City or town name. Maximum length is 128 characters.
 * @property org Organization name. Maximum length is 64 characters.
 * @property orgUnit Organization team name. Maximum length is 64 characters.
 * @property state State or district name. Maximum length is 128 characters.
 */
public data class KeystoresAliasesSelfSignedCertSubject(
    public val commonName: String? = null,
    public val countryCode: String? = null,
    public val email: String? = null,
    public val locality: String? = null,
    public val org: String? = null,
    public val orgUnit: String? = null,
    public val state: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.apigee.outputs.KeystoresAliasesSelfSignedCertSubject): KeystoresAliasesSelfSignedCertSubject = KeystoresAliasesSelfSignedCertSubject(
            commonName = javaType.commonName().map({ args0 -> args0 }).orElse(null),
            countryCode = javaType.countryCode().map({ args0 -> args0 }).orElse(null),
            email = javaType.email().map({ args0 -> args0 }).orElse(null),
            locality = javaType.locality().map({ args0 -> args0 }).orElse(null),
            org = javaType.org().map({ args0 -> args0 }).orElse(null),
            orgUnit = javaType.orgUnit().map({ args0 -> args0 }).orElse(null),
            state = javaType.state().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy