com.pulumi.azure.siterecovery.kotlin.inputs.GetReplicationRecoveryPlanPlainArgs.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.siterecovery.kotlin.inputs
import com.pulumi.azure.siterecovery.inputs.GetReplicationRecoveryPlanPlainArgs.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 getReplicationRecoveryPlan.
* @property name The name of the Replication Plan.
* @property recoveryVaultId The ID of the vault that should be updated.
*/
public data class GetReplicationRecoveryPlanPlainArgs(
public val name: String,
public val recoveryVaultId: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.siterecovery.inputs.GetReplicationRecoveryPlanPlainArgs =
com.pulumi.azure.siterecovery.inputs.GetReplicationRecoveryPlanPlainArgs.builder()
.name(name.let({ args0 -> args0 }))
.recoveryVaultId(recoveryVaultId.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetReplicationRecoveryPlanPlainArgs].
*/
@PulumiTagMarker
public class GetReplicationRecoveryPlanPlainArgsBuilder internal constructor() {
private var name: String? = null
private var recoveryVaultId: String? = null
/**
* @param value The name of the Replication Plan.
*/
@JvmName("grgyeunsjnmyegpf")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.name = mapped
}
/**
* @param value The ID of the vault that should be updated.
*/
@JvmName("dijchksfyclpiacl")
public suspend fun recoveryVaultId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.recoveryVaultId = mapped
}
internal fun build(): GetReplicationRecoveryPlanPlainArgs = GetReplicationRecoveryPlanPlainArgs(
name = name ?: throw PulumiNullFieldException("name"),
recoveryVaultId = recoveryVaultId ?: throw PulumiNullFieldException("recoveryVaultId"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy