
com.pulumi.gcp.backupdisasterrecovery.kotlin.inputs.GetBackupPlainArgs.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.GetBackupPlainArgs.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 getBackup.
* @property backupVaultId
* @property dataSourceId
* @property location
* @property project
*/
public data class GetBackupPlainArgs(
public val backupVaultId: String,
public val dataSourceId: String,
public val location: String,
public val project: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.backupdisasterrecovery.inputs.GetBackupPlainArgs =
com.pulumi.gcp.backupdisasterrecovery.inputs.GetBackupPlainArgs.builder()
.backupVaultId(backupVaultId.let({ args0 -> args0 }))
.dataSourceId(dataSourceId.let({ args0 -> args0 }))
.location(location.let({ args0 -> args0 }))
.project(project.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetBackupPlainArgs].
*/
@PulumiTagMarker
public class GetBackupPlainArgsBuilder internal constructor() {
private var backupVaultId: String? = null
private var dataSourceId: String? = null
private var location: String? = null
private var project: String? = null
/**
* @param value
*/
@JvmName("mjyjywyqeyhsovmg")
public suspend fun backupVaultId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.backupVaultId = mapped
}
/**
* @param value
*/
@JvmName("nlfkmhmbvsqhagtd")
public suspend fun dataSourceId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.dataSourceId = mapped
}
/**
* @param value
*/
@JvmName("kndhtooknejywqcj")
public suspend fun location(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.location = mapped
}
/**
* @param value
*/
@JvmName("ootbabccikqgjpmc")
public suspend fun project(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.project = mapped
}
internal fun build(): GetBackupPlainArgs = GetBackupPlainArgs(
backupVaultId = backupVaultId ?: throw PulumiNullFieldException("backupVaultId"),
dataSourceId = dataSourceId ?: throw PulumiNullFieldException("dataSourceId"),
location = location ?: throw PulumiNullFieldException("location"),
project = project ?: throw PulumiNullFieldException("project"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy