
com.pulumi.gcp.backupdisasterrecovery.kotlin.inputs.GetBackupVaultPlainArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.backupdisasterrecovery.kotlin.inputs
import com.pulumi.gcp.backupdisasterrecovery.inputs.GetBackupVaultPlainArgs.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 getBackupVault.
* @property backupVaultId The id of Backup Vault resource.
* - - -
* @property location The location in which the Backup Vault resource belongs.
* @property project The project in which the resource belongs. If it
* is not provided, the provider project is used.
*/
public data class GetBackupVaultPlainArgs(
public val backupVaultId: String,
public val location: String,
public val project: String? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.backupdisasterrecovery.inputs.GetBackupVaultPlainArgs =
com.pulumi.gcp.backupdisasterrecovery.inputs.GetBackupVaultPlainArgs.builder()
.backupVaultId(backupVaultId.let({ args0 -> args0 }))
.location(location.let({ args0 -> args0 }))
.project(project?.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetBackupVaultPlainArgs].
*/
@PulumiTagMarker
public class GetBackupVaultPlainArgsBuilder internal constructor() {
private var backupVaultId: String? = null
private var location: String? = null
private var project: String? = null
/**
* @param value The id of Backup Vault resource.
* - - -
*/
@JvmName("dumgrtogbdbrsdyd")
public suspend fun backupVaultId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.backupVaultId = mapped
}
/**
* @param value The location in which the Backup Vault resource belongs.
*/
@JvmName("rpobggtmeogdvegd")
public suspend fun location(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.location = mapped
}
/**
* @param value The project in which the resource belongs. If it
* is not provided, the provider project is used.
*/
@JvmName("ypecfnfebqvqcjsd")
public suspend fun project(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.project = mapped
}
internal fun build(): GetBackupVaultPlainArgs = GetBackupVaultPlainArgs(
backupVaultId = backupVaultId ?: throw PulumiNullFieldException("backupVaultId"),
location = location ?: throw PulumiNullFieldException("location"),
project = project,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy