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

com.pulumi.azurenative.machinelearning.kotlin.inputs.StorageAccountArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azurenative.machinelearning.kotlin.inputs

import com.pulumi.azurenative.machinelearning.inputs.StorageAccountArgs.builder
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

/**
 * Access information for a storage account.
 * @property key Specifies the key used to access the storage account.
 * @property name Specifies the name of the storage account.
 */
public data class StorageAccountArgs(
    public val key: Output? = null,
    public val name: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.machinelearning.inputs.StorageAccountArgs =
        com.pulumi.azurenative.machinelearning.inputs.StorageAccountArgs.builder()
            .key(key?.applyValue({ args0 -> args0 }))
            .name(name?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [StorageAccountArgs].
 */
@PulumiTagMarker
public class StorageAccountArgsBuilder internal constructor() {
    private var key: Output? = null

    private var name: Output? = null

    /**
     * @param value Specifies the key used to access the storage account.
     */
    @JvmName("gdlgottyummbleyd")
    public suspend fun key(`value`: Output) {
        this.key = value
    }

    /**
     * @param value Specifies the name of the storage account.
     */
    @JvmName("ycwyrqbbcjqqpfvw")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value Specifies the key used to access the storage account.
     */
    @JvmName("epfjtlhlgdbocfob")
    public suspend fun key(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.key = mapped
    }

    /**
     * @param value Specifies the name of the storage account.
     */
    @JvmName("jgerdlftvkgoqjhl")
    public suspend fun name(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.name = mapped
    }

    internal fun build(): StorageAccountArgs = StorageAccountArgs(
        key = key,
        name = name,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy