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

com.pulumi.azure.streamanalytics.kotlin.inputs.JobJobStorageAccountArgs.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: 6.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.streamanalytics.kotlin.inputs

import com.pulumi.azure.streamanalytics.inputs.JobJobStorageAccountArgs.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

/**
 *
 * @property accountKey The account key for the Azure storage account.
 * @property accountName The name of the Azure storage account.
 * @property authenticationMode The authentication mode of the storage account. The only supported value is `ConnectionString`. Defaults to `ConnectionString`.
 */
public data class JobJobStorageAccountArgs(
    public val accountKey: Output,
    public val accountName: Output,
    public val authenticationMode: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.streamanalytics.inputs.JobJobStorageAccountArgs =
        com.pulumi.azure.streamanalytics.inputs.JobJobStorageAccountArgs.builder()
            .accountKey(accountKey.applyValue({ args0 -> args0 }))
            .accountName(accountName.applyValue({ args0 -> args0 }))
            .authenticationMode(authenticationMode?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [JobJobStorageAccountArgs].
 */
@PulumiTagMarker
public class JobJobStorageAccountArgsBuilder internal constructor() {
    private var accountKey: Output? = null

    private var accountName: Output? = null

    private var authenticationMode: Output? = null

    /**
     * @param value The account key for the Azure storage account.
     */
    @JvmName("tgwdcwackfxypxsp")
    public suspend fun accountKey(`value`: Output) {
        this.accountKey = value
    }

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

    /**
     * @param value The authentication mode of the storage account. The only supported value is `ConnectionString`. Defaults to `ConnectionString`.
     */
    @JvmName("pqavallwiqyaorpd")
    public suspend fun authenticationMode(`value`: Output) {
        this.authenticationMode = value
    }

    /**
     * @param value The account key for the Azure storage account.
     */
    @JvmName("mklptfningdiadmv")
    public suspend fun accountKey(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.accountKey = mapped
    }

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

    /**
     * @param value The authentication mode of the storage account. The only supported value is `ConnectionString`. Defaults to `ConnectionString`.
     */
    @JvmName("sljbvpdbccnytfej")
    public suspend fun authenticationMode(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.authenticationMode = mapped
    }

    internal fun build(): JobJobStorageAccountArgs = JobJobStorageAccountArgs(
        accountKey = accountKey ?: throw PulumiNullFieldException("accountKey"),
        accountName = accountName ?: throw PulumiNullFieldException("accountName"),
        authenticationMode = authenticationMode,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy