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

com.pulumi.azurenative.machinelearningservices.kotlin.inputs.AmlTokenArgs.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: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.machinelearningservices.kotlin.inputs

import com.pulumi.azurenative.machinelearningservices.inputs.AmlTokenArgs.builder
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.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * AML Token identity configuration.
 * @property identityType Enum to determine identity framework.
 * Expected value is 'AMLToken'.
 */
public data class AmlTokenArgs(
    public val identityType: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.machinelearningservices.inputs.AmlTokenArgs =
        com.pulumi.azurenative.machinelearningservices.inputs.AmlTokenArgs.builder()
            .identityType(identityType.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [AmlTokenArgs].
 */
@PulumiTagMarker
public class AmlTokenArgsBuilder internal constructor() {
    private var identityType: Output? = null

    /**
     * @param value Enum to determine identity framework.
     * Expected value is 'AMLToken'.
     */
    @JvmName("ivducdwnxwnmogeo")
    public suspend fun identityType(`value`: Output) {
        this.identityType = value
    }

    /**
     * @param value Enum to determine identity framework.
     * Expected value is 'AMLToken'.
     */
    @JvmName("mlsdfetsetwhuoql")
    public suspend fun identityType(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.identityType = mapped
    }

    internal fun build(): AmlTokenArgs = AmlTokenArgs(
        identityType = identityType ?: throw PulumiNullFieldException("identityType"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy