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

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

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

import com.pulumi.awsnative.pcaconnectorad.kotlin.enums.TemplateHashAlgorithm
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property certificateValidity
 * @property enrollmentFlags
 * @property extensions
 * @property generalFlags
 * @property hashAlgorithm
 * @property privateKeyAttributes
 * @property privateKeyFlags
 * @property subjectNameFlags
 * @property supersededTemplates
 */
public data class TemplateV3(
    public val certificateValidity: TemplateCertificateValidity,
    public val enrollmentFlags: TemplateEnrollmentFlagsV3,
    public val extensions: TemplateExtensionsV3,
    public val generalFlags: TemplateGeneralFlagsV3,
    public val hashAlgorithm: TemplateHashAlgorithm,
    public val privateKeyAttributes: TemplatePrivateKeyAttributesV3,
    public val privateKeyFlags: TemplatePrivateKeyFlagsV3,
    public val subjectNameFlags: TemplateSubjectNameFlagsV3,
    public val supersededTemplates: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.pcaconnectorad.outputs.TemplateV3): TemplateV3 = TemplateV3(
            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.TemplateEnrollmentFlagsV3.Companion.toKotlin(args0)
            }),
            extensions = javaType.extensions().let({ args0 ->
                com.pulumi.awsnative.pcaconnectorad.kotlin.outputs.TemplateExtensionsV3.Companion.toKotlin(args0)
            }),
            generalFlags = javaType.generalFlags().let({ args0 ->
                com.pulumi.awsnative.pcaconnectorad.kotlin.outputs.TemplateGeneralFlagsV3.Companion.toKotlin(args0)
            }),
            hashAlgorithm = javaType.hashAlgorithm().let({ args0 ->
                com.pulumi.awsnative.pcaconnectorad.kotlin.enums.TemplateHashAlgorithm.Companion.toKotlin(args0)
            }),
            privateKeyAttributes = javaType.privateKeyAttributes().let({ args0 ->
                com.pulumi.awsnative.pcaconnectorad.kotlin.outputs.TemplatePrivateKeyAttributesV3.Companion.toKotlin(args0)
            }),
            privateKeyFlags = javaType.privateKeyFlags().let({ args0 ->
                com.pulumi.awsnative.pcaconnectorad.kotlin.outputs.TemplatePrivateKeyFlagsV3.Companion.toKotlin(args0)
            }),
            subjectNameFlags = javaType.subjectNameFlags().let({ args0 ->
                com.pulumi.awsnative.pcaconnectorad.kotlin.outputs.TemplateSubjectNameFlagsV3.Companion.toKotlin(args0)
            }),
            supersededTemplates = javaType.supersededTemplates().map({ args0 -> args0 }),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy