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

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

package com.pulumi.azure.maps.kotlin.inputs

import com.pulumi.azure.maps.inputs.AccountDataStoreArgs.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 storageAccountId The ID of the Storage Account that should be linked to this Azure Maps Account.
 * @property uniqueName The name given to the linked Storage Account.
 */
public data class AccountDataStoreArgs(
    public val storageAccountId: Output? = null,
    public val uniqueName: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.maps.inputs.AccountDataStoreArgs =
        com.pulumi.azure.maps.inputs.AccountDataStoreArgs.builder()
            .storageAccountId(storageAccountId?.applyValue({ args0 -> args0 }))
            .uniqueName(uniqueName.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [AccountDataStoreArgs].
 */
@PulumiTagMarker
public class AccountDataStoreArgsBuilder internal constructor() {
    private var storageAccountId: Output? = null

    private var uniqueName: Output? = null

    /**
     * @param value The ID of the Storage Account that should be linked to this Azure Maps Account.
     */
    @JvmName("woynrdwwxanibmrq")
    public suspend fun storageAccountId(`value`: Output) {
        this.storageAccountId = value
    }

    /**
     * @param value The name given to the linked Storage Account.
     */
    @JvmName("praevfomlotqrsfv")
    public suspend fun uniqueName(`value`: Output) {
        this.uniqueName = value
    }

    /**
     * @param value The ID of the Storage Account that should be linked to this Azure Maps Account.
     */
    @JvmName("shlqkgyebxgibujv")
    public suspend fun storageAccountId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.storageAccountId = mapped
    }

    /**
     * @param value The name given to the linked Storage Account.
     */
    @JvmName("bpdbnnhqypkoocxt")
    public suspend fun uniqueName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.uniqueName = mapped
    }

    internal fun build(): AccountDataStoreArgs = AccountDataStoreArgs(
        storageAccountId = storageAccountId,
        uniqueName = uniqueName ?: throw PulumiNullFieldException("uniqueName"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy