com.pulumi.azure.cosmosdb.kotlin.inputs.AccountCapabilityArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.cosmosdb.kotlin.inputs
import com.pulumi.azure.cosmosdb.inputs.AccountCapabilityArgs.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 name Specifies the name of the CosmosDB Account. Changing this forces a new resource to be created.
*/
public data class AccountCapabilityArgs(
public val name: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.cosmosdb.inputs.AccountCapabilityArgs =
com.pulumi.azure.cosmosdb.inputs.AccountCapabilityArgs.builder()
.name(name.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AccountCapabilityArgs].
*/
@PulumiTagMarker
public class AccountCapabilityArgsBuilder internal constructor() {
private var name: Output? = null
/**
* @param value Specifies the name of the CosmosDB Account. Changing this forces a new resource to be created.
*/
@JvmName("ruksnwbjmxbinach")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value Specifies the name of the CosmosDB Account. Changing this forces a new resource to be created.
*/
@JvmName("najtgjilfgalftnk")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.name = mapped
}
internal fun build(): AccountCapabilityArgs = AccountCapabilityArgs(
name = name ?: throw PulumiNullFieldException("name"),
)
}