
com.pulumi.azurenative.recoveryservices.kotlin.inputs.EnableMigrationInputPropertiesArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.recoveryservices.kotlin.inputs
import com.pulumi.azurenative.recoveryservices.inputs.EnableMigrationInputPropertiesArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
* Enable migration input properties.
* @property policyId The policy Id.
* @property providerSpecificDetails The provider specific details.
*/
public data class EnableMigrationInputPropertiesArgs(
public val policyId: Output,
public val providerSpecificDetails: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.recoveryservices.inputs.EnableMigrationInputPropertiesArgs =
com.pulumi.azurenative.recoveryservices.inputs.EnableMigrationInputPropertiesArgs.builder()
.policyId(policyId.applyValue({ args0 -> args0 }))
.providerSpecificDetails(
providerSpecificDetails.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [EnableMigrationInputPropertiesArgs].
*/
@PulumiTagMarker
public class EnableMigrationInputPropertiesArgsBuilder internal constructor() {
private var policyId: Output? = null
private var providerSpecificDetails: Output? = null
/**
* @param value The policy Id.
*/
@JvmName("gdgydkogeotiwppy")
public suspend fun policyId(`value`: Output) {
this.policyId = value
}
/**
* @param value The provider specific details.
*/
@JvmName("xivoruemqdofxnxv")
public suspend fun providerSpecificDetails(`value`: Output) {
this.providerSpecificDetails = value
}
/**
* @param value The policy Id.
*/
@JvmName("fxumnseengwpsqhh")
public suspend fun policyId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.policyId = mapped
}
/**
* @param value The provider specific details.
*/
@JvmName("cflmwnvdtdfbrjdl")
public suspend fun providerSpecificDetails(`value`: VMwareCbtEnableMigrationInputArgs) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.providerSpecificDetails = mapped
}
/**
* @param argument The provider specific details.
*/
@JvmName("clscqolrkkomucsh")
public suspend fun providerSpecificDetails(argument: suspend VMwareCbtEnableMigrationInputArgsBuilder.() -> Unit) {
val toBeMapped = VMwareCbtEnableMigrationInputArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.providerSpecificDetails = mapped
}
internal fun build(): EnableMigrationInputPropertiesArgs = EnableMigrationInputPropertiesArgs(
policyId = policyId ?: throw PulumiNullFieldException("policyId"),
providerSpecificDetails = providerSpecificDetails ?: throw
PulumiNullFieldException("providerSpecificDetails"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy