com.pulumi.azure.cosmosdb.kotlin.inputs.MongoRoleDefinitionPrivilegeResourceArgs.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.MongoRoleDefinitionPrivilegeResourceArgs.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
/**
*
* @property collectionName The name of the Mongo DB Collection that the Role Definition is applied.
* @property dbName The name of the Mongo DB that the Role Definition is applied.
*/
public data class MongoRoleDefinitionPrivilegeResourceArgs(
public val collectionName: Output? = null,
public val dbName: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.cosmosdb.inputs.MongoRoleDefinitionPrivilegeResourceArgs =
com.pulumi.azure.cosmosdb.inputs.MongoRoleDefinitionPrivilegeResourceArgs.builder()
.collectionName(collectionName?.applyValue({ args0 -> args0 }))
.dbName(dbName?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [MongoRoleDefinitionPrivilegeResourceArgs].
*/
@PulumiTagMarker
public class MongoRoleDefinitionPrivilegeResourceArgsBuilder internal constructor() {
private var collectionName: Output? = null
private var dbName: Output? = null
/**
* @param value The name of the Mongo DB Collection that the Role Definition is applied.
*/
@JvmName("wnliwifvhigvotev")
public suspend fun collectionName(`value`: Output) {
this.collectionName = value
}
/**
* @param value The name of the Mongo DB that the Role Definition is applied.
*/
@JvmName("lewfapriuvufoiso")
public suspend fun dbName(`value`: Output) {
this.dbName = value
}
/**
* @param value The name of the Mongo DB Collection that the Role Definition is applied.
*/
@JvmName("cdjturhtomhkfbkb")
public suspend fun collectionName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.collectionName = mapped
}
/**
* @param value The name of the Mongo DB that the Role Definition is applied.
*/
@JvmName("hegldkbldvrwhjwo")
public suspend fun dbName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.dbName = mapped
}
internal fun build(): MongoRoleDefinitionPrivilegeResourceArgs =
MongoRoleDefinitionPrivilegeResourceArgs(
collectionName = collectionName,
dbName = dbName,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy