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

com.pulumi.awsnative.pcaconnectorad.kotlin.inputs.TemplatePrivateKeyFlagsV3Args.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.inputs

import com.pulumi.awsnative.pcaconnectorad.inputs.TemplatePrivateKeyFlagsV3Args.builder
import com.pulumi.awsnative.pcaconnectorad.kotlin.enums.TemplateClientCompatibilityV3
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 requireAlternateSignatureAlgorithm
 * @property strongKeyProtectionRequired
 */
public data class TemplatePrivateKeyFlagsV3Args(
    public val clientVersion: Output,
    public val exportableKey: Output? = null,
    public val requireAlternateSignatureAlgorithm: Output? = null,
    public val strongKeyProtectionRequired: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.pcaconnectorad.inputs.TemplatePrivateKeyFlagsV3Args =
        com.pulumi.awsnative.pcaconnectorad.inputs.TemplatePrivateKeyFlagsV3Args.builder()
            .clientVersion(clientVersion.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .exportableKey(exportableKey?.applyValue({ args0 -> args0 }))
            .requireAlternateSignatureAlgorithm(
                requireAlternateSignatureAlgorithm?.applyValue({ args0 ->
                    args0
                }),
            )
            .strongKeyProtectionRequired(strongKeyProtectionRequired?.applyValue({ args0 -> args0 })).build()
}

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

    private var exportableKey: Output? = null

    private var requireAlternateSignatureAlgorithm: Output? = null

    private var strongKeyProtectionRequired: Output? = null

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

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

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

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

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

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

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy