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

com.pulumi.awsnative.pcaconnectorad.kotlin.inputs.TemplatePrivateKeyFlagsV2Args.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.pcaconnectorad.kotlin.inputs

import com.pulumi.awsnative.pcaconnectorad.inputs.TemplatePrivateKeyFlagsV2Args.builder
import com.pulumi.awsnative.pcaconnectorad.kotlin.enums.TemplateClientCompatibilityV2
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property clientVersion
 * @property exportableKey
 * @property strongKeyProtectionRequired
 */
public data class TemplatePrivateKeyFlagsV2Args(
    public val clientVersion: Output,
    public val exportableKey: Output? = null,
    public val strongKeyProtectionRequired: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.pcaconnectorad.inputs.TemplatePrivateKeyFlagsV2Args =
        com.pulumi.awsnative.pcaconnectorad.inputs.TemplatePrivateKeyFlagsV2Args.builder()
            .clientVersion(clientVersion.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .exportableKey(exportableKey?.applyValue({ args0 -> args0 }))
            .strongKeyProtectionRequired(strongKeyProtectionRequired?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [TemplatePrivateKeyFlagsV2Args].
 */
@PulumiTagMarker
public class TemplatePrivateKeyFlagsV2ArgsBuilder internal constructor() {
    private var clientVersion: Output? = null

    private var exportableKey: Output? = null

    private var strongKeyProtectionRequired: Output? = null

    /**
     * @param value
     */
    @JvmName("qwmubhbhfkcgoorc")
    public suspend fun clientVersion(`value`: Output) {
        this.clientVersion = value
    }

    /**
     * @param value
     */
    @JvmName("abkowdvqtvrdyjuo")
    public suspend fun exportableKey(`value`: Output) {
        this.exportableKey = value
    }

    /**
     * @param value
     */
    @JvmName("llphjyekupepnbes")
    public suspend fun strongKeyProtectionRequired(`value`: Output) {
        this.strongKeyProtectionRequired = value
    }

    /**
     * @param value
     */
    @JvmName("jwjgnmhojgkubrlj")
    public suspend fun clientVersion(`value`: TemplateClientCompatibilityV2) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.clientVersion = mapped
    }

    /**
     * @param value
     */
    @JvmName("cradcincnbrxwprr")
    public suspend fun exportableKey(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.exportableKey = mapped
    }

    /**
     * @param value
     */
    @JvmName("sdtarqlpxquflxdk")
    public suspend fun strongKeyProtectionRequired(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.strongKeyProtectionRequired = mapped
    }

    internal fun build(): TemplatePrivateKeyFlagsV2Args = TemplatePrivateKeyFlagsV2Args(
        clientVersion = clientVersion ?: throw PulumiNullFieldException("clientVersion"),
        exportableKey = exportableKey,
        strongKeyProtectionRequired = strongKeyProtectionRequired,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy