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

com.pulumi.azurenative.network.kotlin.inputs.ExpressRouteLinkMacSecConfigArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azurenative.network.kotlin.inputs

import com.pulumi.azurenative.network.inputs.ExpressRouteLinkMacSecConfigArgs.builder
import com.pulumi.azurenative.network.kotlin.enums.ExpressRouteLinkMacSecCipher
import com.pulumi.azurenative.network.kotlin.enums.ExpressRouteLinkMacSecSciState
import com.pulumi.core.Either
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * ExpressRouteLink Mac Security Configuration.
 * @property cakSecretIdentifier Keyvault Secret Identifier URL containing Mac security CAK key.
 * @property cipher Mac security cipher.
 * @property cknSecretIdentifier Keyvault Secret Identifier URL containing Mac security CKN key.
 * @property sciState Sci mode enabled/disabled.
 */
public data class ExpressRouteLinkMacSecConfigArgs(
    public val cakSecretIdentifier: Output? = null,
    public val cipher: Output>? = null,
    public val cknSecretIdentifier: Output? = null,
    public val sciState: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.network.inputs.ExpressRouteLinkMacSecConfigArgs =
        com.pulumi.azurenative.network.inputs.ExpressRouteLinkMacSecConfigArgs.builder()
            .cakSecretIdentifier(cakSecretIdentifier?.applyValue({ args0 -> args0 }))
            .cipher(
                cipher?.applyValue({ args0 ->
                    args0.transform({ args0 -> args0 }, { args0 ->
                        args0.let({ args0 -> args0.toJava() })
                    })
                }),
            )
            .cknSecretIdentifier(cknSecretIdentifier?.applyValue({ args0 -> args0 }))
            .sciState(
                sciState?.applyValue({ args0 ->
                    args0.transform({ args0 -> args0 }, { args0 ->
                        args0.let({ args0 -> args0.toJava() })
                    })
                }),
            ).build()
}

/**
 * Builder for [ExpressRouteLinkMacSecConfigArgs].
 */
@PulumiTagMarker
public class ExpressRouteLinkMacSecConfigArgsBuilder internal constructor() {
    private var cakSecretIdentifier: Output? = null

    private var cipher: Output>? = null

    private var cknSecretIdentifier: Output? = null

    private var sciState: Output>? = null

    /**
     * @param value Keyvault Secret Identifier URL containing Mac security CAK key.
     */
    @JvmName("ufluywahqsaloubt")
    public suspend fun cakSecretIdentifier(`value`: Output) {
        this.cakSecretIdentifier = value
    }

    /**
     * @param value Mac security cipher.
     */
    @JvmName("esupurmrghkupdny")
    public suspend fun cipher(`value`: Output>) {
        this.cipher = value
    }

    /**
     * @param value Keyvault Secret Identifier URL containing Mac security CKN key.
     */
    @JvmName("ycpjywollcthpmou")
    public suspend fun cknSecretIdentifier(`value`: Output) {
        this.cknSecretIdentifier = value
    }

    /**
     * @param value Sci mode enabled/disabled.
     */
    @JvmName("gtkvfixghgldavhg")
    public suspend fun sciState(`value`: Output>) {
        this.sciState = value
    }

    /**
     * @param value Keyvault Secret Identifier URL containing Mac security CAK key.
     */
    @JvmName("ucrttsnqborklqpi")
    public suspend fun cakSecretIdentifier(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.cakSecretIdentifier = mapped
    }

    /**
     * @param value Mac security cipher.
     */
    @JvmName("usskpflssdaarfkl")
    public suspend fun cipher(`value`: Either?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.cipher = mapped
    }

    /**
     * @param value Mac security cipher.
     */
    @JvmName("etmvjnbilpclwyxo")
    public fun cipher(`value`: String) {
        val toBeMapped = Either.ofLeft(value)
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.cipher = mapped
    }

    /**
     * @param value Mac security cipher.
     */
    @JvmName("jogcttquoqvitmuy")
    public fun cipher(`value`: ExpressRouteLinkMacSecCipher) {
        val toBeMapped = Either.ofRight(value)
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.cipher = mapped
    }

    /**
     * @param value Keyvault Secret Identifier URL containing Mac security CKN key.
     */
    @JvmName("ihxypqvuauxckcvb")
    public suspend fun cknSecretIdentifier(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.cknSecretIdentifier = mapped
    }

    /**
     * @param value Sci mode enabled/disabled.
     */
    @JvmName("jdclkunawsmtfbbu")
    public suspend fun sciState(`value`: Either?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.sciState = mapped
    }

    /**
     * @param value Sci mode enabled/disabled.
     */
    @JvmName("yqkmsurhqtggyjjt")
    public fun sciState(`value`: String) {
        val toBeMapped = Either.ofLeft(value)
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.sciState = mapped
    }

    /**
     * @param value Sci mode enabled/disabled.
     */
    @JvmName("cwoootauthaycpql")
    public fun sciState(`value`: ExpressRouteLinkMacSecSciState) {
        val toBeMapped = Either.ofRight(value)
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.sciState = mapped
    }

    internal fun build(): ExpressRouteLinkMacSecConfigArgs = ExpressRouteLinkMacSecConfigArgs(
        cakSecretIdentifier = cakSecretIdentifier,
        cipher = cipher,
        cknSecretIdentifier = cknSecretIdentifier,
        sciState = sciState,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy