![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.datareplication.kotlin.inputs.DraModelPropertiesArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.datareplication.kotlin.inputs
import com.pulumi.azurenative.datareplication.inputs.DraModelPropertiesArgs.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
/**
* Dra model properties.
* @property authenticationIdentity Identity model.
* @property customProperties Dra model custom properties.
* @property machineId Gets or sets the machine Id where Dra is running.
* @property machineName Gets or sets the machine name where Dra is running.
* @property resourceAccessIdentity Identity model.
*/
public data class DraModelPropertiesArgs(
public val authenticationIdentity: Output,
public val customProperties: Output,
public val machineId: Output,
public val machineName: Output,
public val resourceAccessIdentity: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.datareplication.inputs.DraModelPropertiesArgs =
com.pulumi.azurenative.datareplication.inputs.DraModelPropertiesArgs.builder()
.authenticationIdentity(
authenticationIdentity.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.customProperties(customProperties.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.machineId(machineId.applyValue({ args0 -> args0 }))
.machineName(machineName.applyValue({ args0 -> args0 }))
.resourceAccessIdentity(
resourceAccessIdentity.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [DraModelPropertiesArgs].
*/
@PulumiTagMarker
public class DraModelPropertiesArgsBuilder internal constructor() {
private var authenticationIdentity: Output? = null
private var customProperties: Output? = null
private var machineId: Output? = null
private var machineName: Output? = null
private var resourceAccessIdentity: Output? = null
/**
* @param value Identity model.
*/
@JvmName("sjdyjyuejqyqevkd")
public suspend fun authenticationIdentity(`value`: Output) {
this.authenticationIdentity = value
}
/**
* @param value Dra model custom properties.
*/
@JvmName("lufnudgjgrbndkgt")
public suspend fun customProperties(`value`: Output) {
this.customProperties = value
}
/**
* @param value Gets or sets the machine Id where Dra is running.
*/
@JvmName("kilciohbrhiyvnow")
public suspend fun machineId(`value`: Output) {
this.machineId = value
}
/**
* @param value Gets or sets the machine name where Dra is running.
*/
@JvmName("mnwnvtbgljwutpfn")
public suspend fun machineName(`value`: Output) {
this.machineName = value
}
/**
* @param value Identity model.
*/
@JvmName("gcwtjpgpqugjamwo")
public suspend fun resourceAccessIdentity(`value`: Output) {
this.resourceAccessIdentity = value
}
/**
* @param value Identity model.
*/
@JvmName("wjppldayvceybwlm")
public suspend fun authenticationIdentity(`value`: IdentityModelArgs) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.authenticationIdentity = mapped
}
/**
* @param argument Identity model.
*/
@JvmName("xdarvuscwamantyo")
public suspend fun authenticationIdentity(argument: suspend IdentityModelArgsBuilder.() -> Unit) {
val toBeMapped = IdentityModelArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.authenticationIdentity = mapped
}
/**
* @param value Dra model custom properties.
*/
@JvmName("oembyxfkhoimrkup")
public suspend fun customProperties(`value`: VMwareDraModelCustomPropertiesArgs) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.customProperties = mapped
}
/**
* @param argument Dra model custom properties.
*/
@JvmName("hnyattseqmiicxhj")
public suspend fun customProperties(argument: suspend VMwareDraModelCustomPropertiesArgsBuilder.() -> Unit) {
val toBeMapped = VMwareDraModelCustomPropertiesArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.customProperties = mapped
}
/**
* @param value Gets or sets the machine Id where Dra is running.
*/
@JvmName("avfybijraglsitac")
public suspend fun machineId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.machineId = mapped
}
/**
* @param value Gets or sets the machine name where Dra is running.
*/
@JvmName("lwxlpfosoxkyhdfe")
public suspend fun machineName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.machineName = mapped
}
/**
* @param value Identity model.
*/
@JvmName("sfsmdanxtbgadujk")
public suspend fun resourceAccessIdentity(`value`: IdentityModelArgs) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.resourceAccessIdentity = mapped
}
/**
* @param argument Identity model.
*/
@JvmName("bojrfydkywnsppmk")
public suspend fun resourceAccessIdentity(argument: suspend IdentityModelArgsBuilder.() -> Unit) {
val toBeMapped = IdentityModelArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.resourceAccessIdentity = mapped
}
internal fun build(): DraModelPropertiesArgs = DraModelPropertiesArgs(
authenticationIdentity = authenticationIdentity ?: throw
PulumiNullFieldException("authenticationIdentity"),
customProperties = customProperties ?: throw PulumiNullFieldException("customProperties"),
machineId = machineId ?: throw PulumiNullFieldException("machineId"),
machineName = machineName ?: throw PulumiNullFieldException("machineName"),
resourceAccessIdentity = resourceAccessIdentity ?: throw
PulumiNullFieldException("resourceAccessIdentity"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy