![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.cosmosdb.kotlin.inputs.GetRestorableDatabaseAccountsPlainArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.cosmosdb.kotlin.inputs
import com.pulumi.azure.cosmosdb.inputs.GetRestorableDatabaseAccountsPlainArgs.builder
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
/**
* A collection of arguments for invoking getRestorableDatabaseAccounts.
* @property location The location where the Cosmos DB Database Account.
* @property name The name of this Cosmos DB Database Account.
*/
public data class GetRestorableDatabaseAccountsPlainArgs(
public val location: String,
public val name: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.cosmosdb.inputs.GetRestorableDatabaseAccountsPlainArgs =
com.pulumi.azure.cosmosdb.inputs.GetRestorableDatabaseAccountsPlainArgs.builder()
.location(location.let({ args0 -> args0 }))
.name(name.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetRestorableDatabaseAccountsPlainArgs].
*/
@PulumiTagMarker
public class GetRestorableDatabaseAccountsPlainArgsBuilder internal constructor() {
private var location: String? = null
private var name: String? = null
/**
* @param value The location where the Cosmos DB Database Account.
*/
@JvmName("ubsbjqweebyubuqu")
public suspend fun location(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.location = mapped
}
/**
* @param value The name of this Cosmos DB Database Account.
*/
@JvmName("iajidxscbnrtxeof")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.name = mapped
}
internal fun build(): GetRestorableDatabaseAccountsPlainArgs =
GetRestorableDatabaseAccountsPlainArgs(
location = location ?: throw PulumiNullFieldException("location"),
name = name ?: throw PulumiNullFieldException("name"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy