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

com.pulumi.awsnative.pcaconnectorad.kotlin.outputs.TemplateV2.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: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.pcaconnectorad.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property certificateValidity
 * @property enrollmentFlags
 * @property extensions
 * @property generalFlags
 * @property privateKeyAttributes
 * @property privateKeyFlags
 * @property subjectNameFlags
 * @property supersededTemplates
 */
public data class TemplateV2(
    public val certificateValidity: TemplateCertificateValidity,
    public val enrollmentFlags: TemplateEnrollmentFlagsV2,
    public val extensions: TemplateExtensionsV2,
    public val generalFlags: TemplateGeneralFlagsV2,
    public val privateKeyAttributes: TemplatePrivateKeyAttributesV2,
    public val privateKeyFlags: TemplatePrivateKeyFlagsV2,
    public val subjectNameFlags: TemplateSubjectNameFlagsV2,
    public val supersededTemplates: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.pcaconnectorad.outputs.TemplateV2): TemplateV2 = TemplateV2(
            certificateValidity = javaType.certificateValidity().let({ args0 ->
                com.pulumi.awsnative.pcaconnectorad.kotlin.outputs.TemplateCertificateValidity.Companion.toKotlin(args0)
            }),
            enrollmentFlags = javaType.enrollmentFlags().let({ args0 ->
                com.pulumi.awsnative.pcaconnectorad.kotlin.outputs.TemplateEnrollmentFlagsV2.Companion.toKotlin(args0)
            }),
            extensions = javaType.extensions().let({ args0 ->
                com.pulumi.awsnative.pcaconnectorad.kotlin.outputs.TemplateExtensionsV2.Companion.toKotlin(args0)
            }),
            generalFlags = javaType.generalFlags().let({ args0 ->
                com.pulumi.awsnative.pcaconnectorad.kotlin.outputs.TemplateGeneralFlagsV2.Companion.toKotlin(args0)
            }),
            privateKeyAttributes = javaType.privateKeyAttributes().let({ args0 ->
                com.pulumi.awsnative.pcaconnectorad.kotlin.outputs.TemplatePrivateKeyAttributesV2.Companion.toKotlin(args0)
            }),
            privateKeyFlags = javaType.privateKeyFlags().let({ args0 ->
                com.pulumi.awsnative.pcaconnectorad.kotlin.outputs.TemplatePrivateKeyFlagsV2.Companion.toKotlin(args0)
            }),
            subjectNameFlags = javaType.subjectNameFlags().let({ args0 ->
                com.pulumi.awsnative.pcaconnectorad.kotlin.outputs.TemplateSubjectNameFlagsV2.Companion.toKotlin(args0)
            }),
            supersededTemplates = javaType.supersededTemplates().map({ args0 -> args0 }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy